Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No localhost / 127.0.0.1 address when wireless?
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
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1051
Location: Somewhere in Denmark

PostPosted: Fri Jul 08, 2005 7:29 pm    Post subject: No localhost / 127.0.0.1 address when wireless? Reply with quote

I've just got my wireless working (Ralink RT2500) and hence skipped starting net.eth0 - this seems to have caused my MySQL not to work as localhost/127.0.0.1 no longer exists - anybody able to tell me how to correct this?

TIA
Back to top
View user's profile Send private message
RoadRunn
Apprentice
Apprentice


Joined: 10 Jun 2004
Posts: 162

PostPosted: Fri Jul 08, 2005 7:43 pm    Post subject: Re: No localhost / 127.0.0.1 address when wireless? Reply with quote

freke wrote:
I've just got my wireless working (Ralink RT2500) and hence skipped starting net.eth0 - this seems to have caused my MySQL not to work as localhost/127.0.0.1 no longer exists - anybody able to tell me how to correct this?

TIA


Is net.lo still in the boot runlevel?
Code:
rc-update show


Also does ifconfig show lo is up?

If lo is up and has the correct address, it may be as simple as adding the localhost line back to /etc/hosts. If not then you should try and start net.lo:
Code:
/etc/init.d/net.lo start
and see what errors you come up with.
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1051
Location: Somewhere in Denmark

PostPosted: Fri Jul 08, 2005 8:12 pm    Post subject: Reply with quote

:oops: I never claimed to be a hardcore linuxer....

I modified my net.eth0 a bit to not activate it when my wireless (ra0) was picking up a signal - problem was net.eth0 and net.ra0 was merely links to net.lo so the file I actually edited to not run when signal on the wireless was.... net.lo :oops:

Got it sorted now - thanks :)
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