LinuxQuestions.org
Review your favorite Linux distribution.
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 08-24-2003, 12:34 PM   #1
Goblin
Member
 
Registered: Aug 2003
Location: UK
Distribution: Red Hat Linux 9
Posts: 49

Rep: Reputation: 15
old internet problem


sadly this is getting really annoying now. cant access the internet although my lan card is seen.

setup :

puter (mandrake linux)

to hub/router

to internet (adsl line)

my computer is partitioned so i can log into linux or xp home

xphome internet works fine.

router is set up as dchp

in root terminal when i do this :

[root@localhost root]# dhclient eth0
Internet Software Consortium DHCP Client V3.0pl2
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:20:ed:b9:9f:82
Sending on LPF/eth0/00:20:ed:b9:9f:82
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

ifconfig shows :

[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:ED:B9:9F:82
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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0xcf00

eth0:9 Link encap:Ethernet HWaddr 00:20:ED:B9:9F:82
inet addr:169.254.199.102 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Base address:0xcf00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:208 errors:0 dropped:0 overruns:0 frame:0
TX packets:208 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14322 (13.9 Kb) TX bytes:14322 (13.9 Kb)

when the computer reboots it looks at the eth0 card and assigns it the ip address : 169.254.199.102
i have no idea what this address is cos its not in my range of ip address's - it should be assigning between 192.168.1.2 and 192.168.1.100

anyone help me with this one?

im on msn : goblin_siege@hotmail.com if thats easier
 
Old 08-24-2003, 12:50 PM   #2
michael_mead
Member
 
Registered: Aug 2003
Distribution: Red Hat, Debian & Mandrake
Posts: 47

Rep: Reputation: 15
Try setting the IP manually, I have a router setup with dhcp, it works fine, but the IP of the server needs to be static, so I set it manually and it works 100%. Maybe you should try that.
 
Old 08-24-2003, 01:02 PM   #3
Goblin
Member
 
Registered: Aug 2003
Location: UK
Distribution: Red Hat Linux 9
Posts: 49

Original Poster
Rep: Reputation: 15
ok ill try that. hopefully it will assign a proper ip address to my lan card. should be 192.168.1.2

can you stick around if i have further problems please?
 
Old 08-24-2003, 01:05 PM   #4
Goblin
Member
 
Registered: Aug 2003
Location: UK
Distribution: Red Hat Linux 9
Posts: 49

Original Poster
Rep: Reputation: 15
ok ive rebooted linux. gone into madrake control panel and then expert mode.

ive now changed the dchp in there for my lan card to static and given it my ip address of 192.168.1.2 netmask 255.255.255.0 and to start it on reboot. lan gateway is also set to 192.168.1.1 in there (thats my routers ip address).

lets see if that does it. rebooting it now....
 
Old 08-24-2003, 01:18 PM   #5
Goblin
Member
 
Registered: Aug 2003
Location: UK
Distribution: Red Hat Linux 9
Posts: 49

Original Poster
Rep: Reputation: 15
ok on reboot it didnt assign that stupid ip address again.

at the bottom of rebooting it seemed to of assinged 192.168.1.2 to something but i didnt have time to read it.

trying internet now...........nope didnt work. but its getting there cos my ifconfig is now......

[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:ED:B9:9F:82
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0xcf00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:259 errors:0 dropped:0 overruns:0 frame:0
TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19270 (18.8 Kb) TX bytes:19270 (18.8 Kb)

[root@localhost root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

[root@localhost root]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.2 icmp_seq=1 Destination Host Unreachable
From 192.168.1.2 icmp_seq=2 Destination Host Unreachable
From 192.168.1.2 icmp_seq=3 Destination Host Unreachable

its looking way better. i cant ping my router for some reason.

any ideas?

whats in your netconf setup? when u type netconf while you in root?
 
Old 08-24-2003, 02:07 PM   #6
michael_mead
Member
 
Registered: Aug 2003
Distribution: Red Hat, Debian & Mandrake
Posts: 47

Rep: Reputation: 15
Looking at your first post I noticed something I missed at first glance.

It has create two eth0 and eth0:9.

Remove them all by using

ifconfig ethx:x del IP

Once done, use ifconfig to make sure all of them are gone, then reboot. If it is set as DHCP it will try and assign an IP to eth0.

Post the output from ifconfig, if you try this.

If the above does not work try;

If you have other machines on the network try and ping them and see what response you get..

Type (as root) the following;

ifconfig eth0 down

ifconfig eth0 del 192.168.1.2

ifconfig eth0 add 192.168.1.2 netmask 255.255.255.0

ifconfig eth0 up
 
Old 08-24-2003, 02:21 PM   #7
Goblin
Member
 
Registered: Aug 2003
Location: UK
Distribution: Red Hat Linux 9
Posts: 49

Original Poster
Rep: Reputation: 15
[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:ED:B9:9F:82
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0xcf00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:259 errors:0 dropped:0 overruns:0 frame:0
TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19270 (18.8 Kb) TX bytes:19270 (18.8 Kb)

[root@localhost root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

no i cant ping the other computers on the network. nor can i ping the router 192.168.1.1

 
Old 08-25-2003, 09:35 AM   #8
michael_mead
Member
 
Registered: Aug 2003
Distribution: Red Hat, Debian & Mandrake
Posts: 47

Rep: Reputation: 15
Is there a list on the DHCP server of computers that have leased an IP from it? If so check to see if the linux box is there.

It seems all of your network settings are OK. Does the card definatly work with linux?

I have had a card before that seems to work, but linux didnt support it. The installation forced the network card to be seen but it didnt function.
 
Old 08-25-2003, 09:44 AM   #9
Goblin
Member
 
Registered: Aug 2003
Location: UK
Distribution: Red Hat Linux 9
Posts: 49

Original Poster
Rep: Reputation: 15
actually i think there is a linux version of my lan card.

RTL8139

maybe i could install that?


also, how about i install linux on my other computer? it has a different lan card.

Linksys LNE100TX Fast Ethernet Adapter(LNE100TX v4


btw my dchp was set up so that the ip never expired.

i could change the linux static ip to something different?
 
Old 08-25-2003, 09:53 AM   #10
Goblin
Member
 
Registered: Aug 2003
Location: UK
Distribution: Red Hat Linux 9
Posts: 49

Original Poster
Rep: Reputation: 15
i found this

We're often asked for a recommendation of an Ethernet card which will work with Linux. Most such cards do, but manufacturers have a nasty trick of making subtle changes to their cards without changing the model number. Making sure you get one which works with Linux can therefore be a little tricky, as most suppliers won't say whether their cards do or not.

We have therefore sourced and tested some basic Ethernet cards so we know they fine work under Linux. They are Realtek 8139 based cards, manufactured by Intellinet and they use the rtl8139too.o module, which is standard in most distributions. They support both 10 and 100 megabit operation and have a connector for a Wake-on-LAN lead.

Footnote: Isn't it always the way? Kernel support for these cards is excellent in the 2.2 kernel series but early 2.4 kernels apparently have some problems with the rtl8139 driver. The problems are fixed in version 0.9.16 of the rtl8139 driver which is present in the kernel from 2.4.3-ac7 or it can be downloaded from here (a 45k download). Current versions of the 2.4 kernel do not have this problem
 
Old 08-25-2003, 10:04 AM   #11
Goblin
Member
 
Registered: Aug 2003
Location: UK
Distribution: Red Hat Linux 9
Posts: 49

Original Poster
Rep: Reputation: 15
err is this bad? the above may explain this. i havnt installed the above driver. dont know how to infact.

unknown : Silicon Integrated System|SiS 650 Host-to-PCI Bridge [NOT_DEFINED]
unknown : Silicon Integrated Systems [SiS]|5591/5592 AGP [NOT_DEFINED]
unknown : Silicon Integrated Systems [SiS]|85C503/5513 [NOT_DEFINED]
usb-ohci : Silicon Integrated Systems [SiS]|7001 USB [NOT_DEFINED]
usb-ohci : Silicon Integrated Systems [SiS]|7001 USB [NOT_DEFINED]
unknown : Silicon Integrated Systems [SiS]|5513 [IDE] [NOT_DEFINED]
unknown : Silicon Integrated System|SiS7013 56k Modem [NOT_DEFINED]
snd-intel8x0 : Silicon Integrated Systems [SiS]|SiS7012 PCI Audio Accelerator [NOT_DEFINED]
8139too : Realtek|RTL-8139 [NOT_DEFINED]
unknown : Silicon Integrated System|SiS650/651/740 GUI 2D/3D Accelerator [NOT_DEFINED]
unknown : Unknown|USB OHCI Root Hub [Hub|Root Hub]
unknown : Unknown|USB OHCI Root Hub [Hub|Root Hub]
 
Old 08-25-2003, 12:02 PM   #12
Goblin
Member
 
Registered: Aug 2003
Location: UK
Distribution: Red Hat Linux 9
Posts: 49

Original Poster
Rep: Reputation: 15
ok i installed mandrake on my server computer.

IT WORKS!!! im on the net. it has a different lan card to my other comp.

so i guess that was the problem? i had no configuration to do on this comp.

question : do i buy a new lan card for the other comp or i dont need to , just need a driver?

also : i didnt install all the applications onto this one. how do i install all the server stuff to here?

thanks to everyone who helped me so far, its not over yet so please dont leave me lol
 
Old 08-25-2003, 06:27 PM   #13
michael_mead
Member
 
Registered: Aug 2003
Distribution: Red Hat, Debian & Mandrake
Posts: 47

Rep: Reputation: 15
Firstly, it could be your motherboards pci bridge not installed properly that is causing the problem. You could try swapping the network cards over, mandrake should install the drivers for the network card and set it up. If the other network card fails to work, then its not the card configuration.

If the other card works, and the card dosent work in the server, then either there is a parameter somewhere that needs changing or linux dosent like the card. Mandrake is usually good with setting up network cards during the install and them working 100%.

Try swapping the cards over and reply with the info.

About the software - use the mandrake control centre's package management system to install the software required. If you have a fast enough internet connection I would recommend selecting an FTP server with the full mandrake tree as the source to get the latest packages. Or alternativly you could use the CDs and download the odd one from the net.
 
  


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
Problem with Internet jnicou Linux - Networking 1 08-14-2005 07:16 AM
Internet and LAN access is unstable-is this a hardware problem or a software problem? soren625 Linux - Networking 1 06-07-2004 06:43 AM
Internet Problem! ThE_DeaD Linux - Networking 2 07-28-2003 12:02 PM
Internet Problem syedusman Linux - Software 2 05-30-2003 09:19 AM
Printer Problem AND internet problem Evolutio Linux - Software 0 04-08-2002 02:58 AM

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

All times are GMT -5. The time now is 12:02 PM.

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