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.
|
 |
09-02-2005, 02:15 PM
|
#1
|
Member
Registered: Dec 2002
Distribution: Debian
Posts: 154
Rep:
|
Can only connect from WinXP
title sums it up.
I thought my router might have been puking on me. But now I don't know, I hooked my pc directly to the modem with no router in between.
Modem dishes out ip address dhcp style, ifconfig shows the right ip, but no internet.
Running debian sid, I just apt-get upgraded yesterday, but this started this morning.
I'm posting from WindowsXP, so I know the modem works and my connection is fine.
. Ip is gotten dhcp.
I can't ping anything
resolve.conf has the usual ip addys.
ping 66.102.7.99 yields host unreachable
ping 66.94.230.32 yields host unreachable
The router gets an ip from the modem.
It seems that the only way I'm allowed to access the internet is when winXP is connected directly to the internet. Call me Oswald but strangely, that's the case.
Whether I'm behind the router or connected straight to the modem the box can't get on the internet unless it's booted into XP.
I'm baffled, please help.
|
|
|
09-02-2005, 02:22 PM
|
#2
|
Member
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252
Rep:
|
MyfFirst guess would be that you aren't getting the route setup correctly. Can you print the output from route and ifconfig -a.
Thanks.
|
|
|
09-02-2005, 03:06 PM
|
#3
|
Member
Registered: Dec 2002
Distribution: Debian
Posts: 154
Original Poster
Rep:
|
Code:
eth0 Link encap:Ethernet HWaddr 00:0C:6E:4A:3B:9C
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xe000
eth1 Link encap:Ethernet HWaddr 00:04:5A:5D:EF:B0
inet addr:24.145.159.194 Bcast:255.255.255.255 Mask:255.255.255.192
inet6 addr: fe80::204:5aff:fe5d:efb0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4389 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:270180 (263.8 KiB) TX bytes:4086 (3.9 KiB)
Interrupt:12 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2820 (2.7 KiB) TX bytes:2820 (2.7 KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
24.145.159.192 * 255.255.255.192 U 0 0 0 eth1
default 24.145.159.193 0.0.0.0 UG 0 0 0 eth1
h2:/home/h2# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
24.145.159.192 0.0.0.0 255.255.255.192 U 0 0 0 eth1
0.0.0.0 24.145.159.193 0.0.0.0 UG 0 0 0 eth1
Thanks in advance for your help. I'm baffled
|
|
|
09-02-2005, 03:47 PM
|
#4
|
Member
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105
Rep:
|
Just a few notes
1) looks like your eth0 isn't receiving an IP. Why that is, I have no idea. You might want to reconfigure that to accept DHCP.
2) Your broadcast on eth1 looks off a little, too. In reality, it should read: 24.145.159.255. your mask can be whatever, although, if you want to follow the IP conventions, it's off a little too. See, 24.145.159.194 looks like it should be a class A subnet and your subnet is a class C. That's a little too trivial anyway.
Check that stuff out and let us know. Those were just some observations that I had made.
|
|
|
09-02-2005, 04:06 PM
|
#5
|
Member
Registered: Dec 2002
Distribution: Debian
Posts: 154
Original Poster
Rep:
|
eth0 shouldn't even be coming up. It's the mobo's onboard ethernet. eth1 is the linksys card which I use because windows doesn't seem to like the mobo's ethernet.
As for the other stuff I'll check.
thanks.
|
|
|
09-02-2005, 08:14 PM
|
#6
|
Member
Registered: Dec 2002
Distribution: Debian
Posts: 154
Original Poster
Rep:
|
thanks for the input. I swapped routers and now it works.
If anyone can explain that I'd like to know.
h2.
|
|
|
09-02-2005, 08:20 PM
|
#7
|
Member
Registered: Dec 2002
Distribution: Debian
Posts: 154
Original Poster
Rep:
|
thanks for the input. I swapped routers and now it works.
If anyone can explain that I'd like to know.
h2.
|
|
|
09-03-2005, 12:01 AM
|
#8
|
Member
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252
Rep:
|
Possibly the router was giving incorrect addresses. Not enough information here to say for sure. Glad you got it working.
|
|
|
09-03-2005, 02:14 AM
|
#9
|
LQ Newbie
Registered: Sep 2005
Posts: 3
Rep:
|
hi im a linux newbie and i got d same problem =( on WinXp i dont have any problem connecting to internet. I dont use router. Im using debian sarge.
Well my pc has 2 lan cards installed but i think debian correctly identified them. Well d first time i configured it, it succesfully connects to d internet and i was able to surf but when i restarted my pc and tried to connect again, it just doesnt connect anymore. I tried "pon dsl-server" but still d same. I didnt change any settings when i restarted my pc. I tried reinstalling again debian but i got same result.
Is it that im using 2 lan cards? havent tried to removed it yet.
Pls help a noob at linux. T_T
|
|
|
09-03-2005, 09:23 AM
|
#10
|
Member
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252
Rep:
|
To make sure the kernel is recognizing the cards as being present, as root do
# lspci
also do
# ifconfig -a
# lsmod
If you can post the output of these we can get started helping you.
|
|
|
09-03-2005, 12:00 PM
|
#11
|
LQ Newbie
Registered: Sep 2005
Posts: 3
Rep:
|
Tnx ^^. I will try later when i get home 
|
|
|
09-04-2005, 03:39 AM
|
#12
|
LQ Newbie
Registered: Sep 2005
Posts: 3
Rep:
|
I wasnt able to try those commands jonlake coz i forgot to write down the commands. ^^ lol. Coz my pc is at home. and im at d office now. Well i removed d other lan card but d same result. When i run ADSL/PPPOE Config, it sometimes doesnt detect the DHCP something and sometimes it can succesfully detect DHCP settings with or without the other lan card. When i run plog, The message appears "Timeout waiting for PADO packet, Unable to complete PPPOE Discovery." Does it have something to do with my modem? Its wierd coz i was able to connect to the internet the first time i configured the ADSL/PPPOE Config...
|
|
|
All times are GMT -5. The time now is 07:37 AM.
|
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
|
|