ADSL modem, configured at boot time
Bob Chiodini
rchiodin at bellsouth.net
Tue Apr 3 10:39:13 UTC 2007
Martin Marques wrote:
> Tim escribió:
>> On Sun, 2007-04-01 at 15:03 -0300, Martin Marques wrote:
>>> # modprobe br2684
>>> # br2684ctl -c 0 -b -a 0.33
>>> # ifconfig nas0 up
>>> # adsl-setup
>>> # ifup ppp0
>>>
>>> Now, with the exception of adsl-setup, all the other commands I have
>>> to execute then after booting the PC to get a conection to my ISP. I
>>> there a way to get all this to work each time I reboot?
>>
>> Edit the /etc/rc.local script.
>>
>> NB: You may want, or need, to enter the full path to those commands,
>> e.g. like "/sbin/ifconfig" rather than just "ifconfig".
>
> Yes, that's what I did, but shouldn't there be a way of adding,
> specifically the br2684ctl line, this commands before the ppp0
> interface is brought up using the network scripts?
>
Martin,
You could run the br2684ctl command from withing modprobe.conf. See man
modprobe.conf and take a look at the example for the install command.
You might be able to alias br2684 to nas0 so that everything happens
automatically when you ifconfig nas0 up.
Bob...
More information about the fedora-list
mailing list