Nic card -> cable internet modem no internet connection
Hi,
My Question- I have cable modem connected to Accton Nic card on Compaq presario 5011CL. I can't connect to the internet. KDE hardware configuration shows the network card and I created a connection eth0 but during the boot it fails. It's strage because when I monitor the network it's graph shows that I am receiving packets but when I press connect the connection fails. I also went to KDE system services and tryed starting the internet and didn't work. I also tryed the dhclient command. NIC card info detected by system: SMC-1211TX Vendor: Accton Bus: PCI Bus identification: 1113-1211 location on the Bus: 0:5:0 Description: SMC2-1211TX MOdule: 8139too Media class: Network_Ethernet Background info - I thought I learn more about Unix/Linux so I am taking a Linux class. But the Class wont teach me how to install or configure linux. They just give you network access to a Unix/Linux box and teach you commands to use in the shell. So I decided to do some research on the net and got a used Compaq presario to install linux on so I could learn. I couldn't boot from CD on the Compaq presario 5011CL and tried to use the floppy boot disk(info on how to create a boot disk is on the readme.txt file on mandrake cd1) but the system couldn't access the dvd rom drive. The other 8x CD-R on the machine got damaged. I took out the hard disk and connected it to a pentium 4 computer and install mandrake 10 on it then attached it back into the Compaq. Mandrake detected the CPU(AMD athlon processor) ,graphics card Nvida geforce, mouse and keyboard. -Zeshan_b |
Post here the output of these commands, so we can try to tweak it:
ifconfig ifup eth0 |
bash shell command not found
hi,
I am using the bash shell and both commands aren't found. "Command not found" What can I do? -Zeshan_b |
Sorry, I forgot to mention that you should do it as root.
|
during boot mandrake at activating eth0
hi,
ok here are the results: ifconfig Link encap: local loopback inetaddr:127.0.0.1 Mask: 255.0.0.0 UP loopback Running MTU:16436 Metric:1 RX Packets: 68 errors:0 dropped:0 reruns:0 frames:0 TX Packets: 68 errors:0 dropped:0 reruns:0 frames:0 collisions:0 Txqueuelen:0 Rx bytes: 4586(4.4KB) Tx bytes:4586 This looks good so far but ifup eth0 Failed What can I do? -Zeshan_b |
quick question, are you using a standard cat 5 cable, or a crossover cable? I have had similar prob, bought the crossover cable, fixed it
|
Crossover cable will connect two computers, not a cablemodem and a computer.
This ifconfig only shows the loopback. When you're done, ifconfig will show you the eth0 connection, also. Are you dualbooting? I guess in win you have to release the ip address. Anyway, this this, in this order: as root, do: ifconfig eth0 up ifup eth0 and get back here. |
not dual booting
Hi,
Here is my setup. I have two computers. I have them connected to the same monitor and keyboard. I just swich back and forth and disconnect the rj-45(not sure I know it's not cat-5) cable running from the windows machine and connect the cable running from linux machine to the cable modem. The cable modem is connected to the internet via cat-5. I tryed the commands in order and the result is->Failed. What can I do next? |
There is a file in /etc/sysconfig/network*/ifcfg-eth0
Hi,
What can I do with this file. I was searching on the net and found that I can make chages to it to fix the problem. /etc/sysconfig/network*/ifcfg-eth0 I wouldn't mind changing MII_NOT_SUPPORTED=yes to no but I need a dhcp client to connect to the internet. -Zeshan_b |
the cable modem should be connected via coax (cable) rj45 usually is cat 3 or cat 5 so that's not the issue (btw, my cable modem is connected to my hub via crossover cable, thank you very much). Can you do a dmesg and see any errors relating to network functions?
|
hi,
Thanks. When running dmesg I found "eth0: link down" |
zeroconf hostname
When using KDE gui to create a new connection at the last step it asks me for zeroconf hostname. When I enter a hostname it asks me for mandrake cd1.
What can do to manuly configure the net connection. It is trying to install tmdns and zcip. The dvd-rom drive isn't working. I know these files are in the mandrake cd under RPMS. What other rpms do I need for zeroconf? |
Here are some system messages during boot
Still trying to connect to the internet.
Sep 14 07:17:25 localhost rc.sysinit: Enabling swap space: succeeded Sep 14 07:17:26 localhost mandrake_everytime: Starting netprofile: succeeded Sep 14 07:17:26 localhost init: Entering runlevel: 5 Sep 14 07:17:27 localhost network: Setting network parameters: succeeded Sep 14 07:17:27 localhost network: Bringing up loopback interface: succeeded Sep 14 07:17:27 localhost ifplugd(eth0)[704]: ifplugd 0.21b initializing. Sep 14 07:17:27 localhost ifplugd(eth0)[704]: Using interface eth0/00:10:B5:D0:64:9C with driver <8139too> (version: 0.9.27) Sep 14 07:17:27 localhost ifplugd(eth0)[704]: Using detection mode: SIOCGMIIPHY Sep 14 07:17:27 localhost ifplugd(eth0)[704]: Initialization complete, link beat detected. Sep 14 07:17:27 localhost ifplugd(eth0)[704]: Executing '/etc/ifplugd/ifplugd.action eth0 up'. Sep 14 07:17:28 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Sep 14 07:17:44 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 Sep 14 07:18:01 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 Sep 14 07:18:26 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 Sep 14 07:18:27 localhost ifplugd(eth0)[704]: Killing child. Sep 14 07:18:27 localhost network: Bringing up interface eth0: failed Sep 14 07:18:27 localhost internet: Checking internet connections to start at boot succeeded Sep 14 07:18:28 localhost netplugd[827]: /etc/netplug.d/netplug eth0 in -> pid 827 Sep 14 07:18:28 localhost netplugd: netplugd startup succeeded Sep 14 07:18:32 localhost xinetd[1114]: xinetd Version 2.3.13 started with libwrap options compiled in. Sep 14 07:18:32 localhost xinetd[1114]: Started working: 1 available service Sep 14 07:18:48 localhost netplugd[826]: eth0: state INNING flags 0x00001043 UP,BROADCAST,RUNNING,MULTICAST -> 0x00001002 BROADCAST,MULTICAST Sep 14 07:18:48 localhost ifplugd(eth0)[704]: client: Determining IP information for eth0... Sep 14 07:18:48 localhost ifplugd(eth0)[704]: Program execution failed, return value is 0. Sep 14 07:18:48 localhost ifplugd(eth0)[704]: Exiting. Sep 14 07:18:49 localhost netplugd[1782]: /etc/netplug.d/netplug eth0 probe -> pid 1782 Sep 14 07:18:49 localhost netplugd[826]: eth0: state PROBING flags 0x00001002 BROADCAST,MULTICAST -> 0x00001043 UP,BROADCAST,RUNNING,MULTICAST Sep 14 07:18:49 localhost netplugd[826]: eth0: state PROBING_UP pid 1782 exited status 0 Sep 14 07:18:49 localhost netplugd[1783]: /etc/netplug.d/netplug eth0 in -> pid 1783 Sep 14 07:18:49 localhost kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 Sep 14 07:18:54 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Sep 14 07:19:00 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Sep 14 07:19:06 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 Sep 14 07:19:13 localhost su(pam_unix)[1918]: session opened for user root by (uid=501) Sep 14 07:19:14 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 Sep 14 07:19:28 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 Sep 14 07:19:42 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20 Sep 14 07:20:02 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 Sep 14 07:20:06 localhost dhclient: No DHCPOFFERS received. Sep 14 07:20:06 localhost dhclient: Trying recorded lease 192.168.0.100 |
sounds like your not getting dchp information from roadrunner, perhaps a trip to walmart is in order, buy a cheap hub, get your winblows box up and connected, then start your linux box and see if it connects?
|
I have edited resolv.conf and ifcfg-eth0
I have made some changes to two network config files in linux but it still doesn't work. I see your point about getting a hub maybe windows' dhcp and dns will help linux get online. I have a dlink routher but thats a whole other ball game I am not fully prepaired for. Just trying to directly connect the linux box to cable modem.
Below are my resaults. I'll also pass this by my instructor to see what he thinks. In any case this gives me an oppertunity to learn more about linux. Below is some things i did may someone can help solve this issue. [root@localhost zeshan_b]# ifconfig eth0 down [root@localhost zeshan_b]# dhclient eth0 Internet Software Consortium DHCP Client V3.0.1rc13 Copyright 1995-2002 Internet Software Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP Listening on LPF/eth0/00:10:b5:d0:64:9c Sending on LPF/eth0/00:10:b5:d0:64:9c Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 No DHCPOFFERS received. No working leases in persistent database - sleeping. /etc/resolv.conf file search comcast.net nameserver 68.48.0.6 nameserver 68.87.96.15 # nameserver 68.48.0.5 # ppp temp entry /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp NETMASK=255.255.248.0 ONBOOT=yes MII_NOT_SUPPORTED=yes WIRELESS_ENC_KEY="" DHCP_HOSTNAME=172.30.100.34 NEEDHOSTNAME=yes ifconfig -a eth0 Link encap:Ethernet HWaddr 00:10:B5:D0:64:9C inet6 addr: fe80::210:b5ff:fed0:649c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:13338 errors:0 dropped:0 overruns:0 frame:0 TX packets:150 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:853023 (833.0 Kb) TX bytes:31338 (30.6 Kb) Interrupt:5 Base address:0xc000 eth0:9 Link encap:Ethernet HWaddr 00:10:B5:D0:64:9C inet addr:127.255.255.255 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING 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:5 Base address:0xc000 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:123 errors:0 dropped:0 overruns:0 frame:0 TX packets:123 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:10524 (10.2 Kb) TX bytes:10524 (10.2 Kb) 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 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Thanks for taking the time to read this. :) |
Asked my ISP Comcast on how to connect the linux box
Chris.8510 > Thank you for contacting Comcast technical support. Can you please verify your name, phone number, and the details of your Comcast internet service issue?
Zeshan> hi trying to connect a linux box and need to know DHCP_Hostname= Zeshan> do you still use CC host name Zeshan> http://www.astro.umd.edu/~teuben/linux/comcast.html Chris.8510 > Please wait one moment while I bring up your information, and research your issue for you. Chris.8510 > I'm sorry, Comcast isn't licensed to support 3rd party hardware installations. You will need to contact the manufacturer for assistance. The only thing I can tell you is that you need to set it for use with a dynamic IP address. Sorry for the inconvenience. Zeshan> Thanks for your help Chris.8510 > Thank you for contacting Comcast. Enjoy the rest of your evening. Zeshan> this isn't third party hard ware Zeshan> only the software is third party Zeshan> it's a compaq presario 5011CL Zeshan> all I want to know is that if you use a hostname that begins with cc Chris.8510 > We aren't licensed to support 3rd party software either. What is your linux box for? Zeshan> school assignments Zeshan> ok I won't waste your time Zeshan> thanks anyway Chris.8510 > I meant what does it do. Regardless, we don't know what they are looking for when they ask for a hostname. You will need to contact them. Chris.8510 > Thank you for contacting Comcast. |
Problem Solved
Thanks for putting up with me. The problem is solved now.
The cable modem had the mac address of my windows PC stored and that was one reason I couldn't log on to the net with mandrake linux. I unpluged the Cable Modem and left it unpluged for a minute or two. I pluged the Cable back in and then edited the network configuration files. Comcast is gives dynamic ip address. I edited the following network configuration files: /etc/sysconfig/network/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp BROADCAST= IPADDR= NETMASK= NETWORK= ONBOOT=yes GATEWAY= TYPE=Ethernet USERCTL=no PEERDNS=yes MII_NOT_SUPPORTED=yes WIRELESS_ENC_KEY="" DHCP_HOSTNAME= NEEDHOSTNAME=no /etc/sysconfig/network* NETWORKING=yes GATEWAY= /etc/sysconfig/ search nameserver nameserver nameserver Remember this is for dynamic host not static and that is why you have to leave most fields blank. Now you can restart your computer and it should work. I used some other sources on the net but this really helped me out: http://www.astro.umd.edu/~teuben/linux/comcast.html I am posting this via mandrake linux. -Zeshan_B |
Glad you made it friend! Hope you enjoy mandrake!
|
can you do a netconfig???, i had a problem similar but when i did a netconfig and setup the domain name my internet started working
|
Someone may be able to expand on this, but i believe you may be running into a bug with dhclient, or perhaps a bug on the ISP side. Trying switching your DHCP client to pump and see if it make a difference.
See this article: http://www.tldp.org/HOWTO/Net-HOWTO/x1444.html While it deals with the server side more, it does point out that certain clients can be "picky", and when a DHCP protocol violation occurs, all you see is that nothing responds to the broadcasts. I wish I could be more specific, but it has been a while. I do remember that after tearing my hair out for a while, I tried using different clients, and one did the trick for me without having to do more digging. Seeing your issue though, reminds me that I need to actually use my brain and find what's causing the problem...mebbe it's my brain. :rolleyes: |
Whoops...never mind. Guess I was way off...Blowtorch, anyone?:D
|
Hello,
I had similar problem with networking. In my case it was just 2.6.xx kernel fault, so reinstalling with kernel 2.4.xx solved it. To change kernel you need to press F1 at booting from cd, then write "alt1", then as usual. |
All times are GMT -5. The time now is 04:42 PM. |