LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-02-2005, 02:15 PM   #1
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
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.
 
Old 09-02-2005, 02:22 PM   #2
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
MyfFirst guess would be that you aren't getting the route setup correctly. Can you print the output from route and ifconfig -a.

Thanks.
 
Old 09-02-2005, 03:06 PM   #3
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
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
 
Old 09-02-2005, 03:47 PM   #4
issinho
Member
 
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105

Rep: Reputation: 15
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.
 
Old 09-02-2005, 04:06 PM   #5
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
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.
 
Old 09-02-2005, 08:14 PM   #6
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
thanks for the input. I swapped routers and now it works.

If anyone can explain that I'd like to know.
h2.
 
Old 09-02-2005, 08:20 PM   #7
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
thanks for the input. I swapped routers and now it works.

If anyone can explain that I'd like to know.
h2.
 
Old 09-03-2005, 12:01 AM   #8
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
Possibly the router was giving incorrect addresses. Not enough information here to say for sure. Glad you got it working.
 
Old 09-03-2005, 02:14 AM   #9
Constipation
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 09-03-2005, 09:23 AM   #10
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
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.
 
Old 09-03-2005, 12:00 PM   #11
Constipation
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
Tnx ^^. I will try later when i get home
 
Old 09-04-2005, 03:39 AM   #12
Constipation
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
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...
 
  


Reply



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
using freenx connect to a remote winxp. greythorne Linux - Networking 1 11-01-2005 05:42 AM
Cannot connect to internet in Mandrake 9.2, but can in WinXP TravisOSF Linux - Networking 27 04-22-2004 12:11 AM
Connect to the internet through a winXP machine TheRepublican Slackware 8 04-08-2004 03:19 PM
Smbclient cannot connect to WinXP machine Xylon Slackware 10 10-02-2003 11:40 AM
WinXP to Mandrake 8.2 can't connect. BBlalock Linux - Networking 0 06-30-2002 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration