Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wlan0 and openssh,cups,samba issue!
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
stubby
n00b
n00b


Joined: 10 Jun 2002
Posts: 57

PostPosted: Sun Feb 09, 2003 1:42 am    Post subject: wlan0 and openssh,cups,samba issue! Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20588

PostPosted: Sun Feb 09, 2003 3:41 am    Post subject: Reply with quote

How do you have /etc/conf.d/net configured?


Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
stubby
n00b
n00b


Joined: 10 Jun 2002
Posts: 57

PostPosted: Sun Feb 09, 2003 4:04 am    Post subject: net setup Reply with quote

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
View user's profile Send private message
kraaij
n00b
n00b


Joined: 07 Aug 2002
Posts: 66
Location: Maastricht, The Netherlands

PostPosted: Thu Mar 06, 2003 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
kraaij
n00b
n00b


Joined: 07 Aug 2002
Posts: 66
Location: Maastricht, The Netherlands

PostPosted: Fri Mar 07, 2003 5:23 pm    Post subject: Reply with quote

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
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