View previous topic :: View next topic |
Author |
Message |
stubby n00b
Joined: 10 Jun 2002 Posts: 57
|
Posted: Sun Feb 09, 2003 1:42 am Post subject: wlan0 and openssh,cups,samba issue! |
|
|
I have my wireless card working fine under gentoo , it setups as device wlan0.
I can ping, and browse fine. However, cupsd,samba, and openssh all fail to start, saying they can't bring up eth0. How do I tell them to use wlan0? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Sun Feb 09, 2003 3:41 am Post subject: |
|
|
How do you have /etc/conf.d/net configured?
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
stubby n00b
Joined: 10 Jun 2002 Posts: 57
|
Posted: Sun Feb 09, 2003 4:04 am Post subject: net setup |
|
|
Well, I thought the pcmcia calls the /etc/pcmcia/network start wlan0
But. the only change I made to /etc/conf.d/net was to add:
iface_wlan0="dhcp"
Otherwise it kept complaining about not having it setup properly.
But I want /etc/conf.d/net to be passed eth0, before it even gets that far, OR, just have openssh,samba, and cups to use wlan0 (that would probably be the best for me) |
|
Back to top |
|
|
kraaij n00b
Joined: 07 Aug 2002 Posts: 66 Location: Maastricht, The Netherlands
|
Posted: Thu Mar 06, 2003 7:53 pm Post subject: |
|
|
Have you solved this problem? I am having the same one now. How do I make sure that these scripts dont complain? I just want them to use eth0....
Thx,
Anton. |
|
Back to top |
|
|
kraaij n00b
Joined: 07 Aug 2002 Posts: 66 Location: Maastricht, The Netherlands
|
Posted: Fri Mar 07, 2003 5:23 pm Post subject: |
|
|
I just love answering my own posts...
So, what you need to do is get rid of net.eth0 from your (default) runlevel:
Code: |
rc-update del net.eth0 default
|
Then, edit net.wlan0 such that it starts up the script /etc/init.d/wlan
Code: |
start() {
/etc/init.d/wlan start
checkconfig || return 1
<snip>
|
And then add net.wlan0 to your (default) runlevel:
Code: |
rc-update add net.wlan0 default
|
That's it!
Greetings, I hope this will help someone in the future....
Anton. |
|
Back to top |
|
|
|