LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-10-2002, 12:57 PM   #1
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Rep: Reputation: 15
Exclamation HELP!!! Internet connection LOST


Could someone please help me before I start chewing my wrists!!!!

I am trying to configure my Linux PC on my home network, to act as a proxy to the internet.

After I configured samba (I have windoze clients), and played around with the network settings, I dial into my ISP (ppp0). The problem is that even though I am connected (logged in) I cannot browse the net (using lynx). I don't know what I have done!!!!
I cannot ping the internet?

My local network is working fine. My internet WAS working.

It seems like when one thing is working the other won't!?!

Please help me!!!
 
Old 07-10-2002, 01:20 PM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Assuming you are using a 56k modem, run wvdial in a root window.

What does it say?
 
Old 07-10-2002, 01:26 PM   #3
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Original Poster
Rep: Reputation: 15
You are correct!

Yes, External 56K modem.
Yes, I connect using wvdial.

wvdail dails, connect, send username, sends password, tells me I am connected.

When I run lynx, I get:

Alert! Unable to connect to remote host.
 
Old 07-10-2002, 01:27 PM   #4
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Please post output from
/etc/resolv.conf

and ifconfig -a
after dail up is established.
 
Old 07-10-2002, 01:30 PM   #5
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Original Poster
Rep: Reputation: 15
/etc/resolv.conf

search noth


P.S. noth is my workgroup name
 
Old 07-10-2002, 02:03 PM   #6
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Quote:
Originally posted by FNC
/etc/resolv.conf

search noth


P.S. noth is my workgroup name
And the output from ifconfig -a?

Your /etc/resolv.conf should looke somethng like this:


------------- /etc/resolv.conf ----------

search your_isp_domain.com
nameserver 111.111.111.111
nameserver 222.222.222.222
 
Old 07-10-2002, 02:20 PM   #7
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Original Poster
Rep: Reputation: 15
ifconfig -a:

eth0 Link encap:Ethernet HWaddr 00:50:BF:17:A6:7A
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2660 errors:0 dropped:0 overruns:0 frame:0
TX packets:3103 errors:0 dropped:0 overruns:0 carrier:0
collisions:21 txqueuelen:100
RX bytes:351516 (343.2 Kb) TX bytes:1371070 (1.3 Mb)
Interrupt:11 Base address:0x3000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1407 errors:0 dropped:0 overruns:0 frame:0
TX packets:1407 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:136296 (133.1 Kb) TX bytes:136296 (133.1 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:196.31.190.119 P-t-P:196.2.20.18 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:131 (131.0 b) TX bytes:87 (87.0 b)


Should I remove "search noth", from resolv.conf ?
 
Old 07-10-2002, 04:17 PM   #8
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Quote:
Originally posted by FNC
ifconfig -a:

ppp0 Link encap:Point-to-Point Protocol
inet addr:196.31.190.119 P-t-P:196.2.20.18 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:131 (131.0 b) TX bytes:87 (87.0 b)


Should I remove "search noth", from resolv.conf ?
This looks good, my guess is it's just your resolv.conf that needs fixes.

As far as the LAN which is a private network (and never sees the light of day) you should give it domainame mine for istance is homelinux.net?

Check man resolv.conf but I believe you could do somtihng like this:


-------------- /etc/resolv.conf ------

domain homelinux.net
search yourisp.com
nameserver 111.111.111.111
name server 222.222.222.222

Needless to say check with your ISP to get list of DNS servers.
 
Old 07-12-2002, 11:02 AM   #9
FNC
Member
 
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140

Original Poster
Rep: Reputation: 15
Unhappy Still not working!!!

Hi I added the DNS settings to my resolv.conf, but I still can't browse!!!

When I open lynx it looks like it is searching but after a while it gives a error:

Looking up www.google.com
Unable to locate remote host www.google.com
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://www.google.com/

During the time it is looking for the page, there is a lot of activity on my hub, but nothing on my modem!!!!?!!!?

Could someone explain this??
 
Old 07-12-2002, 12:02 PM   #10
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
This is a bit of a long shot but he it goes:
Check which port your plugged into.

Login in with user accouint:
$ su - root
# netconfig

Us a static ip address of 192.168.0.port_number

# ifconfig eth0 down
# ifconfig eth0 up
# ifconfig eth0

# ping dns_for_your_isp
# ping something_else
# traceroute dns_for_your_isp


Also netconfig overwrites /etc/resolv.conf, so you'll have to enter the dns info again.

Last edited by pickledbeans; 07-12-2002 at 12:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost internet connection after reboot linux_shminux Linux - Newbie 2 09-18-2005 01:11 PM
Lost internet connection RonCum Linux - Networking 4 04-30-2005 07:53 PM
Lost Internet connection w/ SuSE 9.2 aeszcr1 Linux - Newbie 1 11-19-2004 01:11 AM
Lost internet connection after editing rc.inet2 BajaNick Linux - Networking 3 07-04-2004 10:34 PM
Can't reconnect internet when connection has lost Mikessu *BSD 1 06-18-2004 06:37 PM


All times are GMT -5. The time now is 11:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration