LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-01-2008, 10:36 AM   #1
Karloman
LQ Newbie
 
Registered: Oct 2006
Posts: 20

Rep: Reputation: 0
SIS900 PCI Ethernet won't connect to network


Hello,

I've never encountered such a problem and I am awestruck. I installed Ubuntu 7.10 on a desktop PC and everything works fine, except... even though the network cable is plugged in, Ubuntu won't connect to the network. Even with static IP it won't connect.
I am using a SIS 900 PCI Fast Ethernet card that is on-board.

Please anyone, help me.

Yours sincerely,
Karloman
 
Old 02-01-2008, 12:35 PM   #2
HellesAngel
Member
 
Registered: Jun 2007
Posts: 84

Rep: Reputation: 15
What else have you tried so far? Two easy things to play with are ethtool and ifconfig, just enter them in a terminal as root and see what happens. ifconfig should give you the device number assigned to your ethernet device:

Quote:
podgy:/srv/www/htdocs # ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:18:53:C3:67
inet addr:192.168.0.34 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:18ff:fe53:c367/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3850 errors:0 dropped:0 overruns:0 frame:0
TX packets:4045 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:320341 (312.8 Kb) TX bytes:3487493 (3.3 Mb)
Interrupt:12 Base address:0xd400

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:1594 errors:0 dropped:0 overruns:0 frame:0
TX packets:1594 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2620057 (2.4 Mb) TX bytes:2620057 (2.4 Mb)
Then you can see what it supports:
Quote:
podgy:/srv/www/htdocs # ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Current message level: 0x000000c5 (197)
Link detected: yes
There's plenty more but this might get you going.
 
Old 02-02-2008, 04:45 AM   #3
Karloman
LQ Newbie
 
Registered: Oct 2006
Posts: 20

Original Poster
Rep: Reputation: 0
I remember that in Windows, it couldn't receive an ip from my dhcp-server unless the card was set to half duplex at 10 mbps.
So I've did this with
Code:
ethtool -s eth0 speed 10 duplex half
and it changes (after ifdown and ifup), but ethtool eth0 says there's no link. So I reconnect the cables, now ethtool says it has a link, but when I try to contact my dhcp server it goes back to link. think the card is rubbish?
 
Old 02-02-2008, 06:13 AM   #4
AutoStatic
Member
 
Registered: Sep 2005
Distribution: FC 10, Ubuntu 8.04 & Debian Lenny
Posts: 35

Rep: Reputation: 15
I have the same ethernet controller and never had any problems with it. Ubuntu should support it 100%. What kind of network are you trying to connect to?
 
Old 02-03-2008, 06:38 AM   #5
Karloman
LQ Newbie
 
Registered: Oct 2006
Posts: 20

Original Poster
Rep: Reputation: 0
just regular 4 port router/dls-modem.
 
Old 02-03-2008, 04:08 PM   #6
AutoStatic
Member
 
Registered: Sep 2005
Distribution: FC 10, Ubuntu 8.04 & Debian Lenny
Posts: 35

Rep: Reputation: 15
And the cables you're using? Length? The reason why I'm asking this is because I think it's an external factor that is causing your network connection problems. The SIS 900 PCI Fast Ethernet card should work out of the box. I have to admit I never installed Ubuntu on my box so it could be an Ubuntu issue but you're also referring to Windows having problems with it. My Windows installation works flawlessly with the SIS 900 PCI Fast Ethernet card also.
 
Old 02-04-2008, 12:31 AM   #7
Karloman
LQ Newbie
 
Registered: Oct 2006
Posts: 20

Original Poster
Rep: Reputation: 0
custom cables length about 3metres...
 
Old 02-04-2008, 10:54 AM   #8
HellesAngel
Member
 
Registered: Jun 2007
Posts: 84

Rep: Reputation: 15
First things first, DHCP can be a bit touchy and you don't need it so configure a static IP address, then try pinging the gateway to see if that works.
 
Old 05-19-2008, 10:06 PM   #9
lol197282
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
distro, ubuntu edgy, sis900 (onboard ethernet)

I had a problem where the network card wouldn't acquire an IP address from the router, something to do with the card's designated mac address.
A bit of google scratching fixed it (see below).

this worked for me

(using 2 lines in terminal)

Quote:
sudo ifconfig eth0 down hw ether 00:E0:18:B3:A0:F7
sudo ifconfig eth0 up
http://www.irongeek.com/i.php?page=security/changemac
===============================
then I made it more permanent. Opened a terminal window
Quote:
sudo gedit /etc/network/interfaces
, edited the interfaces file

commented out the 1st line & added a 3rd

Quote:
#auto eth0
iface eth0 inet dhcp
hwaddress ether 00:E0:18:B3:A0:F7
(3rd line might need indenting)
saved and closed. then via terminal typed
Quote:
sudo /etc/init.d/networking restart
sis900 card worked after restart

http://www.howtogeek.com/howto/ubunt...ess-on-ubuntu/

Last edited by lol197282; 05-20-2008 at 09:58 PM. Reason: add quotes
 
Old 01-02-2009, 08:39 AM   #10
dominic-dl
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Smile

Another possibility for anyone who is experiencing a similar problem is that the OS has placed your SIS900 ethernet device at eth1 instead of eth0. So edit /etc/networking/interfaces with
Code:
sudo gedit /etc/network/interfaces
and add the lines:
Code:
auto eth1
iface eth1 inet dhcp
then save and close and in a terminal type
Code:
sudo /etc/init.d/networking restart
This change will survive a reboot.
 
  


Reply

Tags
ethernet, mac, sis900, ubuntu, working


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SiS900 PCI "Fast" Ethernet hosler Linux - Networking 3 10-10-2006 12:01 AM
Change IRQ for onboard SiS900 PCI Fast Ethernet Controller lothario Linux - Networking 1 08-18-2006 07:08 PM
SiS900 Ethernet Problem "Network is unreachable" mertos Linux - Networking 7 04-04-2005 10:01 AM
Need help with SiS900 Ethernet card jrolands Linux - Networking 2 02-02-2004 03:19 PM
Sis900 ethernet driversf darin3200 Linux - General 1 03-06-2003 03:40 AM


All times are GMT -5. The time now is 08:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration