LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Help needed! I've killed my internet settings! (https://www.linuxquestions.org/questions/slackware-14/help-needed-ive-killed-my-internet-settings-217746/)

elyk 08-15-2004 12:53 AM

Help needed! I've killed my internet settings!
 
Title says it all...

I'm on dialup at home, had everything working fine. I had netconfig set up for a static IP address for ethernet, then set up my winmodem to connect to dialup.

Me and some other people set up a lan at another house where they have broadband, so I ran netconfig to set up DHCP so I could connect, but I had to register my card with the ISP (which I didn't), so I was online, the ISP gave me an IP address, but I couldn't connect to anything.

Now I'm back home, ran netconfig to change my settings back to use a static IP address, restarted everything, then connected through dialup without errors. But now nothing will connect, I can't visit any websites, gaim won't connect, I've tried several browsers.

There must be some setting somewhere that's telling these applications to use eth0 when it should be using ppp0, but what and where?

I'm now reduced to using windows! Help!

Any help is much appreciated,
-elyk

trickykid 08-15-2004 01:03 AM

If you just setup netconfig, make sure your still not using the DNS server settings from the other connection by checking your /etc/resolv.conf

And if that doesn't work, I've seen it act a little quirky after running a netconfig in Slackware, the quick and dirty way is after running it, reboot your system.

Another way is to restart all your /etc/rc.d/inet scripts.. should be rc.inet1 and rc.inet2... and so on. Sometimes you may have to bring down your eth0 as well, or even check your default route.. by typing route.

To add your default route.. do a:

route add default gw x.x.x.x where the x's are the IP of your gateway or router, etc.

elyk 08-15-2004 01:16 AM

I'm just looking at this from within windows, and I see 3 files:

/etc/resolv.conf
Code:

search elyk.lan
/etc/resolv.conf.1042
Code:

search elyk.lan
/etc/resolv.conf.1156
Code:

search socket.net
nameserver 216.106.1.2

It looks like running netconfig overwrote resolv.conf and backed it up with random numbers at the end of the filename. I'll try tweaking those settings and reading up on resolv.conf. Thanks a lot!


All times are GMT -5. The time now is 03:00 AM.