View previous topic :: View next topic |
Author |
Message |
kagato Tux's lil' helper
Joined: 10 Feb 2005 Posts: 80
|
Posted: Wed Feb 16, 2005 12:51 am Post subject: I need to autostart networking |
|
|
I have the infamous usb wireless networking, but I want to automate it so I dont have to do it by hand I have to do this to get it up,
modprobe at76c503-rfmd, Unplug usb and plug it back in, iwconfig wlan0 essid linksys, iwconfig wlan0 channel 6, ifconfig wlan0 up, dhcpcd wlan0
Sorry for the bad formatting, Im using Lynx and not used to it, but please how do I get it to auto do that for me? |
|
Back to top |
|
|
rel Tux's lil' helper
Joined: 20 Apr 2002 Posts: 137
|
Posted: Wed Feb 16, 2005 1:18 am Post subject: Re: I need to autostart networking |
|
|
kagato wrote: | I have the infamous usb wireless networking, but I want to automate it so I dont have to do it by hand I have to do this to get it up,
modprobe at76c503-rfmd, Unplug usb and plug it back in, iwconfig wlan0 essid linksys, iwconfig wlan0 channel 6, ifconfig wlan0 up, dhcpcd wlan0
Sorry for the bad formatting, Im using Lynx and not used to it, but please how do I get it to auto do that for me? |
You could sum those commands in a bash script. Don't know if you could trigger that script afer inserting the usb-module (guess it can - udev?).
Or get tge latest "masked" baselayout. AFAIK this handles wireless devices pretty good.
rel. |
|
Back to top |
|
|
kagato Tux's lil' helper
Joined: 10 Feb 2005 Posts: 80
|
Posted: Wed Feb 16, 2005 6:01 am Post subject: |
|
|
Hmmm, I tried adding it to the net interface o.o;
but I guess it comes up like this in dmesg or ALT+<--
registered wlan0, net.agent add event not handled, also its calling up the .c file from /root/at76c503a/at76c503a.c I compiled from there, Was that safe? and where should I move it? |
|
Back to top |
|
|
rel Tux's lil' helper
Joined: 20 Apr 2002 Posts: 137
|
Posted: Wed Feb 16, 2005 12:48 pm Post subject: |
|
|
kagato wrote: | Hmmm, I tried adding it to the net interface o.o;
but I guess it comes up like this in dmesg or ALT+<--
registered wlan0, net.agent add event not handled, also its calling up the .c file from /root/at76c503a/at76c503a.c I compiled from there, Was that safe? and where should I move it? |
I suggest you search on baselayout 1.11 on these forums.
With this, setting up a wireless interface is as simple as:
cd /etc/conf.d/ && cp wireless.expample wireless.wlan0 && vi wireless.wlan0 && cd /etc/init.d/ && ln -sf net.lo net.wlan0 && rc-update add net.wlan0 boot |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|