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 > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-25-2012, 01:03 PM   #16
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7

I see "a light in the tunnel". I checked with other wired lan card - Realtek. Network works right after log in into Ubuntu.

I think that there is something wrong with kernel or driver for one Asus card - the one on ISC chipset with Sundance driver. I would like to know how to delete this driver and install new.

On Realtek after plugging cable i see: network connections auto; and network works. On Sundance lan card (also Asus) i see: device not ready. That is why it can't take ip.

If You know how to solve this than i'm listening :d It is not related to a network settings but hardware problems with Asus on IC PLUS chip

This one doesen't work on 12.04:

Code:
description: Ethernet interface
       product: IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY
This one works on 12.04 when i plug cable:

Code:
description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
 
Old 06-25-2012, 01:10 PM   #17
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Why not just pull the IC Plus IP100A from the system? Ot at least just use the RTL8111 network since it works.

IC Plus IP100A is not going to be any better than the RTL8111.
 
Old 06-25-2012, 01:17 PM   #18
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by cascade9 View Post
Why not just pull the IC Plus IP100A from the system? Ot at least just use the RTL8111 network since it works.

IC Plus IP100A is not going to be any better than the RTL8111.
Because i use Realtek for a fast 1GB lan connections (on Windows, i don't want to plug and unplug all the time my cable) while 100MB is for internet connections.

BTW - this guy has similar problem with Sundance chipset/drivers

http://ubuntuforums.org/showthread.php?t=1970451

(just for curiosity).

I would like to know how to remove/install new driver/firmware for this card. Somebody said that network manager loads faster than kernel.
 
Old 06-25-2012, 02:40 PM   #19
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Maybe we should look if there are any errors pointed out by the kernel at boot time.
Try running this command
Code:
sudo dmesg | grep -i -e 'eth\|sundance'
and report the output (between code tags, please).
It seems, however, that your network card is kinda problematic...
 
Old 06-25-2012, 02:57 PM   #20
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by 414N View Post
Maybe we should look if there are any errors pointed out by the kernel at boot time.
Try running this command
Code:
sudo dmesg | grep -i -e 'eth\|sundance'
and report the output (between code tags, please).
It seems, however, that your network card is kinda problematic...
Ok, i will post it but can you, for my curiosity, tell me what -i -e switches mean and why it is in this way 'eth\|sundance'?? It's some kind of magic for me

Code:
firekage@deusex: sudo dmesg | grep -i -e 'eth\|sundance'
[    0.644390] i2c-core: driver [aat2870] using legacy suspend method
[    0.644390] i2c-core: driver [aat2870] using legacy resume method
[    2.471827] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.472284] r8169 0000:03:00.0: eth0: RTL8168d/8111d at 0xf841a000, 90:e6:ba:c7:52:c1, XID 083000c0 IRQ 43
[    2.472287] r8169 0000:03:00.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    2.481226] sundance.c:v1.2 11-Sep-2006 Written by Donald Becker
[    2.481267] sundance 0000:04:06.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[    2.481937] eth1: IC Plus Corporation IP100A FAST Ethernet Adapter at 0001e880, 48:5b:39:bf:0b:55, IRQ 21.
[    2.482780] eth1: MII PHY found at address 0, status 0x786d advertising 01e1.
[   17.013485] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.013490] ADDRCONF(NETDEV_UP): eth1: link is not ready
[   17.068920] VGA switcheroo: detected Optimus DSM method \ handle
[   17.156820] init: network-interface (eth1) pre-start process (587) terminated with status 1
[   17.158282] init: network-interface (eth0) pre-start process (594) terminated with status 1
[   17.261239] i2c-core: driver [tuner] using legacy suspend method
[   17.261241] i2c-core: driver [tuner] using legacy resume method
[   17.293650] init: network-interface (eth0) post-stop process (608) terminated with status 1
[   17.304426] init: network-interface (eth1) post-stop process (601) terminated with status 1
[   17.759018] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.984319] r8169 0000:03:00.0: eth0: link down
[   17.984486] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.984849] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.987578] eth1: Link up
[   17.988047] eth1: Link changed: 100Mbps, full duplex

Last edited by firekage; 06-25-2012 at 03:01 PM.
 
Old 06-26-2012, 05:06 AM   #21
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Quote:
Originally Posted by firekage View Post
Ok, i will post it but can you, for my curiosity, tell me what -i -e switches mean and why it is in this way 'eth\|sundance'?? It's some kind of magic for me
Sure, no problem
grep is a pattern matching filter, i.e. you can filter lines of text with it to search for a specific pattern.
In this case, we're filtering the dmesg output (which is kinda long) using a regular expression (option -e), looking for the strings eth or (expressed via the |) sundance in case-insensitive mode (option -i).
I put up this pattern to filter out information regarding either eth0 or eth1 interface or the sundance driver itself. Apart those "link is not ready" messages, I see nothing suspicious in your output.
Have you tried bringing down the eth1 interface, starting dhclient on it and then bringing it up again?
Code:
sudo ifdown eth1 && sudo dhclient eth1 && sudo ifup eth1
or (i hate those dams sudos ):
Code:
sudo su
ifdown eth1 && dhclient eth1 && ifup eth1
exit

Last edited by 414N; 06-26-2012 at 07:37 AM. Reason: I hate several sudos in a row!
 
Old 06-26-2012, 01:19 PM   #22
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
I think that there was something wrong with bringing up eth1.

This is what i entered to a /etc/network/interfaces

Code:
firekage@deusex:~$ cat /etc/network/interfaces
#auto eth0
#iface eth0 inet dhcp

#auto eth1
#iface eth1 inet dhcp

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth1
iface eth1 inet dhcp
And with the second one commands it works with eth1 (cable is pluged here). If uncomment eth1 here than i don't have connection. Also it there is only "the loopbasck network interface" without the "primary network interface" section than there is no network either.

This is what i added to a /etc/NetworkManager/Network.conf
Code:
firekage@deusex:~$ cat /etc/NetworkManager/NetworkManager.conf 

[main]
plugins=ifupdown,keyfile
#dns=dnsmasq

no-auto-default=my mac adres

[ifupdown]
managed=true


firekage@deusex:~$
and my wired connections is managed in network-manager applet in Ubuntu.



Internet/connection works. The problem is that i don't know why i had to change these files when on 11.10 it was right after boot and automatically. I had to add manually it on 12.04.


Thank You for your help

Last edited by firekage; 06-26-2012 at 02:15 PM.
 
Old 06-26-2012, 01:21 PM   #23
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by 414N View Post
Sure, no problem
grep is a pattern matching filter, i.e. you can filter lines of text with it to search for a specific pattern.
In this case, we're filtering the dmesg output (which is kinda long) using a regular expression (option -e), looking for the strings eth or (expressed via the |) sundance in case-insensitive mode (option -i).
I put up this pattern to filter out information regarding either eth0 or eth1 interface or the sundance driver itself. Apart those "link is not ready" messages, I see nothing suspicious in your output.
Have you tried bringing down the eth1 interface, starting dhclient on it and then bringing it up again?
Code:
sudo ifdown eth1 && sudo dhclient eth1 && sudo ifup eth1
or (i hate those dams sudos ):
Code:
sudo su
ifdown eth1 && dhclient eth1 && ifup eth1
exit
Here is what i have as an output of these commands:

Code:
firekage@deusex:~$ sudo ifdown eth1 && sudo dhclient eth1 && sudo ifup eth1 
RTNETLINK answers: File exists 
firekage@deusex:~$ sudo ifdown eth1 && sudo dhclient eth1 && sudo ifup eth1 
RTNETLINK answers: File exists 
firekage@deusex:~$ sudo ifdown eth1 && sudo dhclient eth1 && sudo ifup eth1 
RTNETLINK answers: File exists 
firekage@deusex:~$
Thanks again.
 
Old 06-26-2012, 01:28 PM   #24
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Glad to hear that it works
 
Old 06-26-2012, 02:02 PM   #25
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by 414N View Post
Glad to hear that it works
Yes, but i'm curious why i had to change this 2 config files and add what i inserted into them because on 11.10 i didn't have to.
 
  


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
can connect to network but not to internet... ct_hamster Linux - Newbie 7 04-16-2009 09:44 AM
cannot connect to internet/network CrashedAgain Linux - Software 10 11-30-2007 11:36 AM
Cannot connect to network/internet whitemagicwizard Linux - Newbie 5 11-21-2007 08:44 AM
Connect to internet through network kiteguy101 Linux - Newbie 1 10-22-2004 04:10 PM
how to connect to internet through network matt_w_lambert Linux - Networking 4 02-10-2004 09:55 PM

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

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