 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 
Niestety ale porazka cos nie cos brakuje jeszcze temu pakietowi nie ma tam czegos takiego jak adictrl to jest odpowiedzialne za wgranie firmware do modemu:
Wszystko wyklada sie tutaj:
# if /var/run/adiusbadsl doesn't exist or if it contains STOPPED,
# connexion is not restarted
STOPPED=0
if [ -f /var/run/adiusbadsl ] ; then
	if grep -q "STOPPED" /var/run/adiusbadsl ; then
		STOPPED=1
	fi
fi
# pppd is already launched ? => exit
if [ `pidof pppd` ] ; then
	STOPPED=1
fi
if [ $STOPPED = 0 ] ; then
#	logger "adsl.inittab est lancé!"
	echo "STARTED" > /var/run/adiusbadsl
	# Wait for modem "operational" state:
	while true ; do
		/usr/sbin/adictrl -s
		if [ $? == 0 ] ; then break; fi
		# Wait a little to let hotplug load the firmware
		# to the modem:
		sleep 2
	done
	# Get the ADI network interface name:
	INTERFACE=`/usr/sbin/adictrl -i 2>/dev/null`
	# Configure the ADI network interface:
	/sbin/ifconfig $INTERFACE 192.168.60.30 netmask 255.255.255.0 up
	# Start pppd:
	/usr/sbin/pppd nodetach persist pty "/usr/sbin/pppoa -I 
 -----------------------------------------------NIe ma w usr/sbin/pppoa --- nie ma tego tez ale podstawa to to adictrl
$INTERFACE" file /etc/ppp/options.adsl
	# Remove the ADI network interface:
	/sbin/ifconfig $INTERFACE down
else
#	logger "on attend"
	sleep 30
fi
i jeszcze jest taki motyw ale to byc moze nie zauwarzylem chyba nie zaladowal usb nie widzialem podczas uruchamiania aby gdzies wypisal liczbe portow itd.