Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-10-2002, 01:57 PM
|
#1
|
Member
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140
Rep:
|
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!!!

|
|
|
07-10-2002, 02:20 PM
|
#2
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
Assuming you are using a 56k modem, run wvdial in a root window.
What does it say?
|
|
|
07-10-2002, 02:26 PM
|
#3
|
Member
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140
Original Poster
Rep:
|
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.
|
|
|
07-10-2002, 02:27 PM
|
#4
|
Member
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483
Rep:
|
Please post output from
/etc/resolv.conf
and ifconfig -a
after dail up is established.
|
|
|
07-10-2002, 02:30 PM
|
#5
|
Member
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140
Original Poster
Rep:
|
/etc/resolv.conf
search noth
P.S. noth is my workgroup name
|
|
|
07-10-2002, 03:03 PM
|
#6
|
Member
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483
Rep:
|
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
|
|
|
07-10-2002, 03:20 PM
|
#7
|
Member
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140
Original Poster
Rep:
|
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 ?
|
|
|
07-10-2002, 05:17 PM
|
#8
|
Member
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483
Rep:
|
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.
|
|
|
07-12-2002, 12:02 PM
|
#9
|
Member
Registered: Feb 2001
Location: South Africa
Distribution: Fedora, Mandriva, PCLOS, SUSE - anything a can get my hands on
Posts: 140
Original Poster
Rep:
|
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??
|
|
|
07-12-2002, 01:02 PM
|
#10
|
Member
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483
Rep:
|
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 01:06 PM.
|
|
|
All times are GMT -5. The time now is 12:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|