Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I need to autostart networking
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kagato
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 80

PostPosted: Wed Feb 16, 2005 12:51 am    Post subject: I need to autostart networking Reply with quote

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
View user's profile Send private message
rel
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2002
Posts: 137

PostPosted: Wed Feb 16, 2005 1:18 am    Post subject: Re: I need to autostart networking Reply with quote

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
View user's profile Send private message
kagato
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 80

PostPosted: Wed Feb 16, 2005 6:01 am    Post subject: Reply with quote

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
View user's profile Send private message
rel
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2002
Posts: 137

PostPosted: Wed Feb 16, 2005 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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