Jump to content
Compatible Support Forums
Sign in to follow this  
Oragex

Network works but not internet!

Recommended Posts

Hi,

 

I'm a noob in Linux. I've installed Fedora Core 3 on my computer (Laptop ECS g733, p4 2.4, 512 ram, all components SIS). It works great! I still have some problem finding things but it's ok.

 

The only problem is that I just can't connect on the internet. I have a DSL connection. D-Link 500G mount on a lan with DHCP.

 

It works fine except on Linux. I can ping the other computers (but I can't see them on the Microsoft Networks folder (why??). I have this configuration :

 

eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FF

inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::fdff:ffff:feff:ffff/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:214 errors:0 dropped:0 overruns:0 frame:0

TX packets:184 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:21582 (21.0 KiB) TX bytes:14079 (13.7 KiB)

Interrupt:9 Base address:0xe000

 

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:9122 errors:0 dropped:0 overruns:0 frame:0

TX packets:9122 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:10483779 (9.9 MiB) TX bytes:10483779 (9.9 MiB)

 

The first one eth0 seems to work, it's my ip adress from my Gateway but I don't know exactly what is this 'lo' thing cause with windows you only have 1 : the network card.

 

Someone know the solution to my problem??

 

Thanks!

 

 

Mickael

Share this post


Link to post

I forgot, when i ping on the internet it workd too. I happend to me before with Windows but i forgot what I did to make it works...

 

Thanks!

 

Mickael

Share this post


Link to post

The "lo" is just your local network interface, don't worry about this.

 

It seems that there is a problem;

 

eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FF

 

does not seem right. It should have a valid hardware address.

 

Is the D-link set up via USB port?

 

We have a real networking expert onboard. Hopefully he will see this post.

Share this post


Link to post

Hi!

 

I believe the 'Ethernet HWaddr FF:FF:FF:FF:FF:FF' is the mac address. I found the options where i can inform the mac address of the Ethernet Card but when i look in windows it doesn't tell me the mac at all! How can I discover that?

 

My Modem is connected to a hub, it has all the router options (with DHCP server), I putted all the firewalls options off, on the modem and in Linux. But still, I have no answers from the web except the package from the ping!

 

Got an idea?

 

Mickael

Share this post


Link to post
Quote:
I believe the 'Ethernet HWaddr FF:FF:FF:FF:FF:FF' is the mac address.

can't be. sorry. all bits on is the ethernet broadcast address.

Until ifconfig shows the same MAC address as Windows, then you've
got some kind of configuration problem.


Quote:
when i look in windows it doesn't tell me the mac at all! How can I discover that?

(assuming WinXP)
Start->Run-> "cmd" -> then "ipconfig /all"

You'll get full interface information, IP address and MAC address.


In linux, if you check the output of 'dmesg' or the contents
of /var/log/messages, does it say anything interesting about 'eth0'?

Share this post


Link to post

Hi!

 

Because I don't understand every line of that flood (sorry for the mess) I decide to put all the things that look like network hardware things. It's from the '/var/log/messages'.

 

Feb 12 05:05:17 localhost kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]

Feb 12 05:05:17 localhost kernel: parport0: irq 7 detected

Feb 12 05:05:17 localhost kernel: cs: IO port probe 0x0c00-0x0cff: clean.

Feb 12 05:05:17 localhost kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x20f 0x378-0x37f 0x480-0x48f 0x4d0-0x4d7

Feb 12 05:05:17 localhost kernel: cs: IO port probe 0x0a00-0x0aff: clean.

Feb 12 05:05:17 localhost kernel: ip_tables: © 2000-2002 Netfilter core team

Feb 12 05:05:17 localhost kernel: ip_tables: © 2000-2002 Netfilter core team

Feb 12 05:05:17 localhost kernel: eth0: Media Link On 100mbps full-duplex

Feb 12 05:05:17 localhost kernel: i2c /dev entries driver

Feb 12 05:05:17 localhost kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]

Feb 12 05:05:17 localhost kernel: parport0: irq 7 detected

Feb 12 05:05:17 localhost kernel: lp0: using parport0 (polling).

Feb 12 05:05:17 localhost kernel: lp0: console ready

Feb 12 05:05:18 localhost cups: cupsd startup succeeded

Feb 12 05:05:18 localhost sshd: succeeded

Feb 12 05:05:18 localhost xinetd: xinetd startup succeeded

Feb 12 05:05:18 localhost nfs: Starting NFS services: succeeded

Feb 12 05:05:18 localhost nfs: rpc.rquotad startup succeeded

Feb 12 05:05:18 localhost xinetd[2632]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in.

Feb 12 05:05:18 localhost xinetd[2632]: Started working: 0 available services

Feb 12 05:05:19 localhost kernel: Installing knfsd (copyright © 1996 okir@monad.swb.de).

Feb 12 05:05:19 localhost nfs: rpc.nfsd startup succeeded

Feb 12 05:05:19 localhost nfs: rpc.mountd startup succeeded

Feb 12 05:05:19 localhost rpcidmapd: rpc.idmapd -SIGHUP succeeded

Feb 12 05:05:20 localhost sendmail: sendmail startup succeeded

Feb 12 05:05:20 localhost sendmail: sm-client startup succeeded

Feb 12 05:05:20 localhost gpm[2728]: *** info [startup.c(95)]:

Feb 12 05:05:20 localhost gpm[2728]: Started gpm successfully. Entered daemon mode.

Feb 12 05:05:20 localhost gpm[2728]: *** info [mice.c(1766)]:

Feb 12 05:05:20 localhost gpm[2728]: imps2: Auto-detected intellimouse PS/2

Feb 12 05:05:21 localhost gpm: gpm startup succeeded

Feb 12 05:05:21 localhost crond: crond startup succeeded

Feb 12 05:05:21 localhost xfs: xfs startup succeeded

Feb 12 05:05:22 localhost xfs[2764]: ignoring font path element /usr/X11R6/lib/X11/fonts/Speedo (unreadable)

Feb 12 05:05:22 localhost winbind: winbindd startup succeeded

Feb 12 05:05:23 localhost anacron: anacron startup succeeded

Feb 12 05:05:23 localhost atd: atd startup succeeded

Feb 12 05:05:23 localhost readahead: Starting background readahead:

Feb 12 05:05:23 localhost rc: Starting readahead: succeeded

Feb 12 05:05:23 localhost messagebus: messagebus startup succeeded

Feb 12 05:05:24 localhost cups-config-daemon: cups-config-daemon startup succeeded

Feb 12 05:05:24 localhost haldaemon: haldaemon startup succeeded

Feb 12 05:05:24 localhost sysctl: net.ipv4.ip_forward = 0

Feb 12 05:05:24 localhost sysctl: net.ipv4.conf.default.rp_filter = 1

Feb 12 05:05:24 localhost sysctl: net.ipv4.conf.default.accept_source_route = 0

Feb 12 05:05:24 localhost sysctl: kernel.sysrq = 0

Feb 12 05:05:24 localhost sysctl: kernel.core_uses_pid = 1

Feb 12 05:05:24 localhost NetworkManager: Setting network parameters: succeeded

Feb 12 05:05:24 localhost NetworkManager: starting...

Feb 12 05:05:25 localhost NetworkManager: RTNETLINK answers: File exists

Feb 12 05:05:25 localhost NetworkManager: NetworkManager startup succeeded

Feb 12 05:05:25 localhost fstab-sync[2868]: removed all generated mount points

Feb 12 05:05:26 localhost NetworkManager: AUTO: Best wired device = (null)

Feb 12 05:05:26 localhost NetworkManager: AUTO: Best wireless device = (null) (null)

Feb 12 05:05:26 localhost fstab-sync[2915]: added mount point /media/NO_NAME for /dev/sda1

Feb 12 05:05:28 localhost fstab-sync[2988]: added mount point /media/cdrecorder for /dev/hdc

Feb 12 05:05:32 localhost NetworkManager: nm_create_device_and_add_to_list(): adding device 'eth0' (wired)

Feb 12 05:05:33 localhost NetworkManager: AUTO: Best wired device = eth0

Feb 12 05:05:33 localhost NetworkManager: AUTO: Best wireless device = (null) (null)

Feb 12 05:05:33 localhost NetworkManager: SWITCH: best device changed

Feb 12 05:05:33 localhost NetworkManager: nm_state_modification_monitor(): beginning activation for device 'eth0'

Feb 12 05:05:33 localhost dhclient: sit0: unknown hardware address type 776

Feb 12 05:05:34 localhost dhclient: sit0: unknown hardware address type 776

Feb 12 05:05:37 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67

Feb 12 05:05:37 localhost dhclient: DHCPACK from 192.168.0.1

Feb 12 05:05:37 localhost NET: /sbin/dhclient-script : updated /etc/resolv.conf

Feb 12 05:05:37 localhost dhclient: bound to 192.168.0.5 -- renewal in 1004867 seconds.

Feb 12 05:05:38 localhost NetworkManager: nm_state_modification_monitor() activated device eth0

Feb 12 05:05:40 localhost kernel: ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 10 (level, low) -> IRQ 10

 

--------------------------------------------------------

Here's also an error from the System log (at the boot) :

 

Feb 12 05:05:05 localhost kernel: Security Scaffold v1.0.0 initialized

Feb 12 05:05:05 localhost kernel: SELinux: Initializing.

Feb 12 05:05:05 localhost kernel: SELinux: Starting in permissive mode

Feb 12 05:05:05 localhost kernel: There is already a security framework initialized, register_security failed.

 

Feb 12 05:05:07 localhost kernel: vesafb: probe of vesafb0 failed with error -6

 

----------------------------------------------

And here's the parameters of the network card:

 

IPCONFIG (WINDOWS)

Suffixe DNS propre à la connexion :

Description . . . . . . . . . . . : Carte Fast Ethernet PCI de base SiS900

Adresse physique . . . . . . . . .: 00-00-00-00-00-00

DHCP activé. . . . . . . . . . . : Oui

Configuration automatique activée . . . . : Oui

Adresse IP. . . . . . . . . . . . : 192.168.0.4

Masque de sous-réseau . . . . . . : 255.255.255.0

Passerelle par défaut . . . . . . : 192.168.0.1

Serveur DHCP. . . . . . . . . . . : 192.168.0.1

Serveurs DNS . . . . . . . . . . : 192.168.0.1

Bail obtenu . . . . . . . . . . . : 11 février, 2005 15:41:01

Bail expirant . . . . . . . . . . : 13 mars, 2005 15:41:01

 

ROUTE (WINDOWS)

Itinéraires actifs :

Destination réseau Masque réseau Adr. passerelle Adr. interface Métrique

0.0.0.0 0.0.0.0 10.0.0.1 10.0.0.4 20

10.0.0.0 255.255.255.0 10.0.0.4 10.0.0.4 20

10.0.0.4 255.255.255.255 127.0.0.1 127.0.0.1 20

10.255.255.255 255.255.255.255 10.0.0.4 10.0.0.4 20

127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1

224.0.0.0 240.0.0.0 10.0.0.4 10.0.0.4 20

255.255.255.255 255.255.255.255 10.0.0.4 10.0.0.4 1

Passerelle par défaut : 10.0.0.1

 

IFCONFIG (LINUX)

eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FF

inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:139 errors:0 dropped:0 overruns:0 frame:0

TX packets:154 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:18197 (17.7 KiB) TX bytes:11053 (10.7 KiB)

Interrupt:9 Base address:0xe000

 

 

 

ROUTE (LINUX)

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.0.0 * 255.255.255.0 U 0 0 0 eth0

default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

 

 

Please tell me you know the problem!

 

 

Mickael

Share this post


Link to post

c'est étrange

 

I can't explain the MAC addresses being what they are (and -very- different)

in Windows and Linux.

 

The Windows route table, however, indicates the system IP address was 10.0.0.4

and the default gateway was 10.0.0.1

 

 

Share this post


Link to post

Sorry, I did some test at my friend's house... This is the real route table:

 

Itinéraires actifs :

Destination réseau Masque réseau Adr. passerelle Adr. interface Métrique

0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.4 20

127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1

192.168.0.0 255.255.255.0 192.168.0.4 192.168.0.4 20

192.168.0.4 255.255.255.255 127.0.0.1 127.0.0.1 20

192.168.0.255 255.255.255.255 192.168.0.4 192.168.0.4 20

224.0.0.0 240.0.0.0 192.168.0.4 192.168.0.4 20

255.255.255.255 255.255.255.255 192.168.0.4 192.168.0.4 1

Passerelle par défaut : 192.168.0.1

 

I know that this MAC address is really strange, when I do a probe of the MAC address in Linux it give me that: FF:FF:FF:FF:FF:FF

 

Worst of all, why is it working in Windows and doesn't in Linux? The TCP/IP protocol is the same, right?

 

 

Mickael

Share this post


Link to post

Hi!

 

I found the answer: the MAC address is the broadcast, you can't use it so you have to change it executing this commandÇ

 

ifconfig eth0 hw ether AA:FF:EE:00:00:00 (or whatever address EXCEPT FF:FF:FF:FF:FF:FF). Linus give the broadcast by default.

 

Thanks!

 

Mickael

Share this post


Link to post

Sorry I saw this so late.

 

You asked a couple of questions:

 

* The HWare address also known as the MAC address is the physical ethernet address of the adapter in your computer. As you know, the ip address you are using 192.168.0.5 is not the same - obviously.

 

* The translation of MAC <-> IP is done by a facility known as ARP - Address Resolution Protocal. This allows ethernet packets (which really "hold" the TCP/IP packets) to be sent to the correct place. Without getting into too much detail, the address FF:FF:FF:FF:FF:FF is called the "broadcast address" and is NOT a legal node address.

 

* This explains why when you use /sbin/ifconfig hw ether ... to force the MAC address to be something other than FF:FF... your system works. (By the way, Windows does have a facility to create a dummy MAC address if a probe is not successful in getting the real one.) If you open a command window in Windows and issue:

 

arp -a

 

you will see the translation of MAC <-> IP there. It might be interesting if you would post what you see there.

 

* Ping is a different kind of packet or message on the network. It uses a protocol ICMP and does not have all the connection handshaking that TCP/IP has. When you attempted to access the web you use TCP/IP for http services (port 80). The TCP/IP connection is much more complex than ICMP. ICMP is like throwing a stone in a pond and hoping it bounces off something.

 

You will find a few things useful on Linux. Many times you can get a lot of information from the "man" pages. Open a terminal window and type

 

man arp

 

for instance. You will get a detailed explaination of arp (for instance). Also the "info" command can be useful.

 

And, do not forget the search engines. Do a google search on TCP/IP and you can get a huge list of links to the protocol (for example).

 

When you feel more confident, you should put your "ifconfig hw ether" into your system startup script. That way you will always start Linux with your network connection working.

 

Hope this has been useful.

Bill

Share this post


Link to post

under Windows, can you use device manager (Start->Run->"devmgmt.msc" ),

find the SiS network adapter, pull up the properties (right click) and

report the version number of your driver?

 

according to this article, you need v1.16 or later

before the correct MAC address can be revealed by "ipconfig /all".

 

also, under Linux, when your network interface driver loads correctly

you will see something that looks like this in /var/log/messages (or via "dmesg" ):

 

[size:3][tt]sis900.c: v1.07.06 11/07/2000

eth0: SiS 900 PCI Fast Ethernet at 0xd000, IRQ 10, 00:00:e8:83:7f:a4.

eth0: SiS 900 Internal MII PHY transceiver found at address 1.

eth0: Using SiS 900 Internal MII PHY as default[/tt][/color]

 

Note carefully the first 3 octets of the MAC address.

 

The MAC address is assigned by SiS (id 0x0000e8) and is unique for the example

network interface (nbr 0x837fa4). Besides the ethernet broadcast address,

there is a whole range of addresses reserved for ethernet multicast which

you should not assign to your network interface.

 

Instead of trying to reassign your interface's address, I think it would be best

to fix the driver problems so you will end up using the MAC address already

allocated for your interface by SiS.

 

http://www.sis.com/support/index.htm

 

what is the full identification string returned by "lspci -v" for the interface?

 

for Windows, the latest driver appears to be v1.18 and for Linux it's v1.08.

 

Compare your Windows network driver to the contents of the LAN driver archive from ECS.

 

Share this post


Link to post

HELP...

 

I have a similar problem, but I didn't install anything new.. All of a sudden my internet stops working on my older PC. The networking still works between my two PCs. The PC that stopped working is running Win 98 and I can't find anything hardware wise wrong with it. I tried Firefox by Mozilla, because some people told me that IE can get virus that screw it up. But that didn't work either.

 

Any ideas?

 

My stuff.

Windows 98 IP Configuration

 

Host Name . . . . . . . . . : compaq.wowway.com

DNS Servers . . . . . . . . : 64.233.222.2

64.233.222.7

Node Type . . . . . . . . . : Broadcast

NetBIOS Scope ID. . . . . . :

IP Routing Enabled. . . . . : No

WINS Proxy Enabled. . . . . : No

NetBIOS Resolution Uses DNS : Yes

 

0 Ethernet adapter :

 

Description . . . . . . . . : SiS NIC SISNIC

Physical Address. . . . . . : 00-D0-09-E8-46-9A

DHCP Enabled. . . . . . . . : No

IP Address. . . . . . . . . : 192.168.1.104

Subnet Mask . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . : 192.168.1.1

Primary WINS Server . . . . :

Secondary WINS Server . . . :

Lease Obtained. . . . . . . :

Lease Expires . . . . . . . :

 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×