LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-13-2004, 05:44 PM   #1
zeshan_b
LQ Newbie
 
Registered: Sep 2004
Location: Arlington
Distribution: installed mandrake
Posts: 19

Rep: Reputation: 0
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
 
Old 09-13-2004, 06:17 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Post here the output of these commands, so we can try to tweak it:

ifconfig

ifup eth0
 
Old 09-13-2004, 06:48 PM   #3
zeshan_b
LQ Newbie
 
Registered: Sep 2004
Location: Arlington
Distribution: installed mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 09-13-2004, 07:38 PM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Sorry, I forgot to mention that you should do it as root.
 
Old 09-13-2004, 07:58 PM   #5
zeshan_b
LQ Newbie
 
Registered: Sep 2004
Location: Arlington
Distribution: installed mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 09-13-2004, 08:05 PM   #6
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
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
 
Old 09-13-2004, 08:30 PM   #7
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
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.
 
Old 09-13-2004, 09:11 PM   #8
zeshan_b
LQ Newbie
 
Registered: Sep 2004
Location: Arlington
Distribution: installed mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
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?
 
Old 09-13-2004, 09:34 PM   #9
zeshan_b
LQ Newbie
 
Registered: Sep 2004
Location: Arlington
Distribution: installed mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 09-13-2004, 10:27 PM   #10
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
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?
 
Old 09-13-2004, 11:12 PM   #11
zeshan_b
LQ Newbie
 
Registered: Sep 2004
Location: Arlington
Distribution: installed mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
hi,

Thanks.

When running dmesg I found "eth0: link down"
 
Old 09-13-2004, 11:48 PM   #12
zeshan_b
LQ Newbie
 
Registered: Sep 2004
Location: Arlington
Distribution: installed mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
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?
 
Old 09-14-2004, 06:44 AM   #13
zeshan_b
LQ Newbie
 
Registered: Sep 2004
Location: Arlington
Distribution: installed mandrake
Posts: 19

Original Poster
Rep: Reputation: 0
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:B50: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
 
Old 09-14-2004, 07:41 AM   #14
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
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?
 
Old 09-14-2004, 03:57 PM   #15
zeshan_b
LQ Newbie
 
Registered: Sep 2004
Location: Arlington
Distribution: installed mandrake
Posts: 19

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


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
Internet connection/Cable Modem resets intermittently NLawrence Linux - Networking 1 04-23-2005 02:10 PM
Cable modem internet connection does not work GeneB Linux - Software 0 01-26-2005 10:10 AM
Internet connection sharing help...using USB modem & Network card Daz155HGT Linux - Networking 6 04-28-2004 01:44 PM
can't connect internet via cable modem after activating an ethernet card huseyin Linux - Networking 5 11-02-2003 07:33 AM
[URGENT] Internet connection problem w/ bamboo 'n' cable modem humaneasy Mandriva 20 09-11-2003 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:10 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