PDA

View Full Version : Cable modem problem.


Sh0wT1me
30-10-2005, 21:30
Hello everyone. Please help me to solve this problem.
I'm using cable modem, in knoppix everything works fine.
I have this problems on mandriva 10.2

ifconfig eth0 81.XX.XX.25 netmask 255.255.255.0 broadcast 255.255.255.255 up
ifconfig eth0
Link encap:Ethernet HWaddr 00:07: etc
IPV6 ........... etc
inet addr:81.XX.XX.25 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1


After this i'm trying to ping yahoo and as you guess no response Download Failed (1)
When i'm trying to open any website in mozilla, it writes "Looking up for"
and that's all Download Failed (1)


pump -i eth0 --status
it writes Error

Also I've tried to use drakconnect.
I've filled all fields with info from knoppix, everything is the same Download Failed (1)
Mozilla writes "Looking up for"

Also I've tried to configure dhcp, but the result is the same.
I don't know what is the dhcp hostname ?

Here is some info from knoppix:

IP: 81.XX.XX.25
Netmask: 255.255.255.0
Broadcast: 255.255.255.255
Network: 81.XX.XX.0
Boot server 62.253.128.20
Next server 0.0.0.0
Gateway: 81.XX.XX.254
Gateways: 81.XX.XX.254
Hostname: Knoppix
Nameservers: 194.168.8.100 194.168.4.100
Renewal time: Mon Oct 31 06:34:51 2005
Expiration time: Mon Oct 31 11:24:26 2005

I've used this info to configure dhcp but the result is the same as always:
Determinig ip for ....
Failed.

And I don't know why the mac address of the modem is different on knoppix and mandriva ? It seems to be I'm getting ip then registering my mac ?

Knoppix 00:0E:9B:FA:45:FD
Mandriva 00:11:d8:57:ec:33

I don't know what to do Download Failed (1)
Please help me, thanks

Gareth
30-10-2005, 22:56
Hmm, weird... when using Mandrake 10.1 I don't have to manually configure my nic, it's picked up automagically. Can you let Mandrake auto-configure your nic?

Alternatively, can you post the output from Mandrake of ethtool eth0 for me?

Oh, and also, can you do a netstat -an?
__________________

ps - :welcome: welcome to Cable Forum :wavey:

jaycee
31-10-2005, 03:44
Don't know about pump, but dhclient works perfectly fine with NTL. It's a bit dodgy that you're getting two totally different MAC addresses though. The only MAC address Linux should see is the MAC address of the card. If Knoppix works, I would say the MAC under Knoppix is right. You may want to check the NIC card driver module under Mandriva. If it's sending the wrong MAC address out when your dhcp client is making a request, the dhcp client is never going to get an answer sent back to it as it needs the MAC address to be correct for this.

Consider trying Ubuntu instead of Mandriva :)

rdhw
31-10-2005, 11:36
in knoppix everything works fine.
I have this problems on mandriva 10.2When switching from one operating system to another, you should re-boot the cable modem. The two operating systems probably send different client_IDs in DHCP. If you could make them both use the same client_ID in DHCP requests, then you would might need to reboot the cable modem.

Sh0wT1me
31-10-2005, 19:07
Hmmm... Mandriva picked up wrong driver for my modem :)

Here is knoppix info for eth0 :

eth0 Link encap:Ethernet HWaddr 00:0E:9B:FA:45:FD
inet addr:81.XX.XX.25 Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1418 errors:0 dropped:0 overruns:0 frame:0
TX packets:1320 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1232378 (1.1 MiB) TX bytes:172375 (168.3 KiB)

Here is Mandriva info :

[root@localhost ~]# ifup eth2

Determining IP information for eth2... done.
[root@localhost ~]# ifconfig eth2
eth2 Link encap:Ethernet HWaddr 00:0E:9B:FA:45:FD
inet addr:81.XX.XX.25 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::20e:9bff:fefa:45fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5004 (4.8 KiB) TX bytes:4656 (4.5 KiB)

But it doesn't work :(

[root@localhost ~]# ping -c 1 81.XX.XX.25
PING 81.XX.XX.25 (81.XX.XX.25) 56(84) bytes of data.
64 bytes from 81.XX.XX.25: icmp_seq=1 ttl=64 time=0.053 ms

--- 81.XX.XX.25 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.053/0.053/0.053/0.000 ms
[root@localhost ~]# ping yahoo.com
ping: unknown host yahoo.com

I've added new interface and I have chosen usbnet driver.
Well my mac address changed successfully, dhcpclient works fine, but as you saw I have no connection :(
And I'm confused with this :
inet6 addr: fe80::20e:9bff:fefa:45fd/64 Scope:Link
I don't think that this must be in my eth2 ?
May be you will recommend me what driver you are using ?
Thx for attention.

Graham M
31-10-2005, 19:10
the inet6 address is the IPV6 address of the interface, its fine. Right, try pinging this IP 195.20.109.115 if you can ping that, the likelihood is that you need to specify the NTL DNS servers which are:

Pri: 194.168.8.100
Sec: 194.168.4.100

Sh0wT1me
31-10-2005, 20:22
I've specified this dns servers. They are in my resolv.conf
ping results :

From 81.XX.XX.25 icmp_seq=1 Destination Host Unreachable
From 81.XX.XX.25 icmp_seq=1 Destination Host Unreachable
--- 195.20.109.115 ping statistics ---
0 packets transmitted, 0 received, +2049 errors

Sh0wT1me
31-10-2005, 21:20
Well now is more interesting after ifup eth2 I'm running my shell as
[root@81XXXX25 ~]#
in resolv.conf only 2 nameservers, in hosts only localhost.

my ifcfg of eth2

DEVICE=eth2
DNS=194.168.8.100
DNS2=194.168.4.100
BOOTPROTO=dhcp
IPADDR=81.XX.XX.25
NETMASK=255.255.255.0
NETWORK=81.XX.XX.0
BROADCAST=255.255.255.255
ONBOOT=yes
HWADDR=00:0e:9b:fa:45:fd
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=no
IPV6INIT=no
IPV6TO4INIT=no
PEERDNS=no
DHCP_CLIENT=dhclient
NEEDHOSTNAME=no
PEERDNS=no
PEERYP=no
PEERNTPD=no

Can anyone help me I'm so tired of this.

Sh0wT1me
03-11-2005, 20:27
Can anyone send me to pm what driver are you using ?
The problem was in the driver as i've mentioned when I've changed the driver to usbnet everything was beginning fine. On knoppix I've seen CDCether in the modules, but to install it on my box I need to recompile the kernel :(

How to create a new eth3 interface or change the driver to my eth0 ?

Sh0wT1me
04-11-2005, 00:12
Solved this problem without your help.
ANYWAY THX FOR HELPING.
Moders please close the thread !!!