FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Laptop

 
 
LinkBack Thread Tools
 
Old 03-17-2011, 01:36 PM
Petr Kubánek
 
Default Ethernet connect problem

What says ifconfig (executed from terminal)? Did you try to search if
network card show in dmesg ("dmesg | grep eth" should work from terminal
for quick look)? Don't you have network card switched off?

Petr

pahnin sd pĂ*še v ÄŚt 17. 03. 2011 v 19:53 +0530:
> I am using debian 6.0
> My wifi is working fine but I couldn't use lan on my laptop..
> It shows in gnome panel that, wired networks is not managed .. I have
> searched on internet but I could nt find gud solution.
> Please help me...
>



--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1300372593.22021.51.camel@epsilonek">http://lists.debian.org/1300372593.22021.51.camel@epsilonek
 
Old 03-17-2011, 01:43 PM
pahnin sd
 
Default Ethernet connect problem

On Thu, Mar 17, 2011 at 8:07 PM, Jonas Andradas <j.andradas@gmail.com> wrote:


On Thu, Mar 17, 2011 at 15:23, pahnin sd <pahninsd@gmail.com> wrote:




I am using debian 6.0
My wifi is working fine but I couldn't use lan on my laptop..
It shows in gnome panel that, wired networks is not managed .. I have searched on internet but I could nt find gud solution.






Please help me...


Hello,

you could check if in the file /etc/network/interfaces you have a line defining your wired ethernet card, such as:* "allow-hotplug eth0" or "auto eth0". You also might have the device configured, with lines such as:





my /etc/network/interfaces file contains
# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto loiface lo inet loopback

# The primary network interface

auto eth0iface eth0 inet dhcp



iface eth0 inet static
*** address 192.168.1.1
*** netmask 255.255.255.0


*** gateway 192.168.1.100

or

iface eth0 inet dhcp


If you have any of these, you should comment them out by prepending each line with a "#" and then restart the network-manager service (/etc/init.d/network-manager restart).





I tried
Stopping network connection manager: NetworkManager.

Starting network connection manager: NetworkManager.*
nothing happend!!



Regards,

thanks


--
Jonás Andradas

Skype: jontux
LinkedIn: http://www.linkedin.com/in/andradas


GPG Fingerprint:* 678F 7BD0 83C3 28CE 9E8F


* * * * * * * * * * * * ** 3F7F 4D87 9996 E0C6 9372
Keyservers:* pgp.mit.edu | pgp.rediris.es
 
Old 03-17-2011, 01:48 PM
pahnin sd
 
Default Ethernet connect problem

On Thu, Mar 17, 2011 at 8:13 PM, pahnin sd <pahninsd@gmail.com> wrote:




On Thu, Mar 17, 2011 at 8:07 PM, Jonas Andradas <j.andradas@gmail.com> wrote:



On Thu, Mar 17, 2011 at 15:23, pahnin sd <pahninsd@gmail.com> wrote:





I am using debian 6.0
My wifi is working fine but I couldn't use lan on my laptop..
It shows in gnome panel that, wired networks is not managed .. I have searched on internet but I could nt find gud solution.







Please help me...


Hello,

you could check if in the file /etc/network/interfaces you have a line defining your wired ethernet card, such as:* "allow-hotplug eth0" or "auto eth0". You also might have the device configured, with lines such as:






my /etc/network/interfaces file contains
# This file describes the network interfaces available on your system


# and how to activate them. For more information, see interfaces(5).
# The loopback network interface


auto loiface lo inet loopback


# The primary network interface


auto eth0iface eth0 inet dhcp




i dont know wht this dhcp is bt I havnt used this earlier and I am under my institute's(nitrkl.ac.in) firewall
and at the installation time it automatically configured my laptop as phani.nitrkl.ac.in (I doubt this)


Is my institute firewall making problem?
As far as I know my institute supports* automatic DHCP configuration



iface eth0 inet static
*** address 192.168.1.1


*** netmask 255.255.255.0

*** gateway 192.168.1.100

or

iface eth0 inet dhcp


If you have any of these, you should comment them out by prepending each line with a "#" and then restart the network-manager service (/etc/init.d/network-manager restart).






I tried
Stopping network connection manager: NetworkManager.


Starting network connection manager: NetworkManager.*
nothing happend!!




Regards,

thanks



--
Jonás Andradas

Skype: jontux
LinkedIn: http://www.linkedin.com/in/andradas



GPG Fingerprint:* 678F 7BD0 83C3 28CE 9E8F


* * * * * * * * * * * * ** 3F7F 4D87 9996 E0C6 9372
Keyservers:* pgp.mit.edu | pgp.rediris.es
 
Old 03-17-2011, 01:51 PM
Philippe LeCavalier
 
Default Ethernet connect problem

Pahin. The purpose of a list like this is for others to benefit from
experiences/fixes and the like. Omitting the list after finding a
helpful hand is counter productive. Please address the list when
replying to help.

Excerpts from pahnin sd's message of Thu Mar 17 10:35:45 -0400 2011:
> On Thu, Mar 17, 2011 at 7:59 PM, Philippe LeCavalier <
> support@plecavalier.com> wrote:
>
> > Excerpts from pahnin sd's message of Thu Mar 17 10:23:37 -0400 2011:
> > > I am using debian 6.0
> > > My wifi is working fine but I couldn't use lan on my laptop..
> > > It shows in gnome panel that, wired networks is not managed .. I have
> > > searched on internet but I could nt find gud solution.
> > > Please help me...
> >
> > What do lspci and ifconfig show? dmesg | grep eth could also help us
> > help you.
> > --
> >
>
> when I connectd lan wire dmesg | grep eth
>
> [ 1.850489] sky2 eth0: addr 00:24:be:b8:13:7c
> [ 15.630845] sky2 eth0: enabling interface
> [ 15.631279] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [ 101.670659] sky2 eth0: disabling interface
> [ 102.931253] sky2 eth0: enabling interface
> [ 102.931707] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [ 9597.445540] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control
> both
> [ 9597.445976] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [ 9607.681270] eth0: no IPv6 routers present
>
> Ifconfig
>
> eth0 Link encap:Ethernet HWaddr 00:24:be:b8:13:7c
> inet addr:192.168.212.53 Bcast:192.168.215.255
> Mask:255.255.252.0
> inet6 addr: fe80::224:beff:feb8:137c/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:2333 errors:0 dropped:0 overruns:0 frame:0
> TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:184831 (180.4 KiB) TX bytes:9817 (9.5 KiB)
> Interrupt:18
[...]
> wlan0 Link encap:Ethernet HWaddr 2c:81:58:eb:95:45
> inet addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0
> inet6 addr: fe80::2e81:58ff:feeb:9545/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1300 Metric:1
> RX packets:39810 errors:0 dropped:0 overruns:0 frame:0
> TX packets:39744 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:27940617 (26.6 MiB) TX bytes:7032624 (6.7 MiB)
>
> LSPCI
[...]
03:00.4 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
> 04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8057 PCI-E
> Gigabit Ethernet Controller (rev 10)
> 3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture
> Generic Non-core Registers (rev 02)
> 3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture
> System Address Decoder (rev 02)
> 3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
> 3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev
> 02)
> 3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
> 3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
>
> > Thanks,
> > Phil
> >
> Thanks for your help
>
looks fine as long as

inet addr:192.168.212.53 Bcast:192.168.215.255 Mask:255.255.252.0

is correct for your network? Your wifi is getting an address from a
different subnet. Is that what you want? You may be completely aware but
in case you're not you'll need some routing between the two to get that
working. Have you added some routes for that?

Also, and this is unorthodox, but you might not be getting a default route.
what does route show?

And I know Marvell doesn't like Linux and vis-versa pre 2.6.something.
Although I don't think it would get an address from dhclient if this
were an issue - not sure there - What kernel are you running... uname -r would help
--
Thanks,
Phil


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1300372698-sup-3664@plc.intranet.plecavalier.com">http://lists.debian.org/1300372698-sup-3664@plc.intranet.plecavalier.com
 
Old 03-17-2011, 01:51 PM
Daniel Bryan
 
Default Ethernet connect problem

---------- Forwarded message ----------
From: pahnin sd <pahninsd@gmail.com>
Date: Fri, Mar 18, 2011 at 1:48 AM

Subject: Re: Ethernet connect problem
To: Jonas Andradas <j.andradas@gmail.com>
Cc: debian laptop mailing list <debian-laptop@lists.debian.org>





On Thu, Mar 17, 2011 at 8:13 PM, pahnin sd <pahninsd@gmail.com> wrote:





On Thu, Mar 17, 2011 at 8:07 PM, Jonas Andradas <j.andradas@gmail.com> wrote:




On Thu, Mar 17, 2011 at 15:23, pahnin sd <pahninsd@gmail.com> wrote:






I am using debian 6.0
My wifi is working fine but I couldn't use lan on my laptop..
It shows in gnome panel that, wired networks is not managed .. I have searched on internet but I could nt find gud solution.








Please help me...


Hello,

you could check if in the file /etc/network/interfaces you have a line defining your wired ethernet card, such as:* "allow-hotplug eth0" or "auto eth0". You also might have the device configured, with lines such as:







my /etc/network/interfaces file contains
# This file describes the network interfaces available on your system



# and how to activate them. For more information, see interfaces(5).

# The loopback network interface



auto loiface lo inet loopback



# The primary network interface



auto eth0iface eth0 inet dhcp





i dont know wht this dhcp is bt I havnt used this earlier and I am under my institute's(nitrkl.ac.in) firewall
and at the installation time it automatically configured my laptop as phani.nitrkl.ac.in (I doubt this)



Is my institute firewall making problem?
As far as I know my institute supports* automatic DHCP configuration




iface eth0 inet static
*** address 192.168.1.1



*** netmask 255.255.255.0

*** gateway 192.168.1.100

or

iface eth0 inet dhcp


If you have any of these, you should comment them out by prepending each line with a "#" and then restart the network-manager service (/etc/init.d/network-manager restart).







I tried
Stopping network connection manager: NetworkManager.



Starting network connection manager: NetworkManager.*
nothing happend!!





Regards,

thanks




--
Jonás Andradas

Skype: jontux
LinkedIn: http://www.linkedin.com/in/andradas




GPG Fingerprint:* 678F 7BD0 83C3 28CE 9E8F


* * * * * * * * * * * * ** 3F7F 4D87 9996 E0C6 9372
Keyservers:* pgp.mit.edu | pgp.rediris.es





As mentioned in the first reply, you should try to run:


lspci

Specifically:

lspci | grep Eth
or:


lspci | grep Net
This should give you a list of network adaptors, then other people on the list can help you to determine whether your ethernet adaptors have linux kernel drivers. It could be the case that they're unsupported, or just that your system isn't configured correctly.
 
Old 03-17-2011, 02:11 PM
Matthew Dawson
 
Default Ethernet connect problem

Hello,

> >> my /etc/network/interfaces file contains
> >
> > # This file describes the network interfaces available on your system
> > # and how to activate them. For more information, see interfaces(5).
> >
> > # The loopback network interface
> > auto lo
> > iface lo inet loopback
> >
> > # The primary network interface
> > auto eth0
> > iface eth0 inet dhcp
> >
> >
> > i dont know wht this dhcp is bt I havnt used this earlier and I am under my
> institute's(nitrkl.ac.in) firewall
> and at the installation time it automatically configured my laptop as
> phani.nitrkl.ac.in (I doubt this)
> Is my institute firewall making problem?
> As far as I know my institute supports automatic DHCP configuration
As mentioned before, you should comment out the lines about eth0. So your /etc/network/interfaces file should contain afterwards:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto eth0
#iface eth0 inet dhcp



Afterwards run the command:
/etc/init.d/network-manager restart

And see if that works.

For others who come looking for a solution, the problem is network manager (the tool gnome uses to allow users to easily configure their network settings) ignores any interface you explicitly configure in /etc/network/interfaces. By commenting out the lines and restarting the service, network manager will begin managing eth0. This also applies if you use any other desktop environment which uses network manager as its backend.

Matthew


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201103171111.17567.matthewjd@gmail.com">http://lists.debian.org/201103171111.17567.matthewjd@gmail.com
 
Old 03-17-2011, 02:11 PM
pahnin sd
 
Default Ethernet connect problem

On Thu, Mar 17, 2011 at 8:21 PM, Philippe LeCavalier <support@plecavalier.com> wrote:


Pahin. The purpose of a list like this is for others to benefit from

experiences/fixes and the like. Omitting the list after finding a

helpful hand is counter productive. Please address the list when

replying to help.



Excerpts from pahnin sd's message of Thu Mar 17 10:35:45 -0400 2011:

> On Thu, Mar 17, 2011 at 7:59 PM, Philippe LeCavalier <

> support@plecavalier.com> wrote:

>

> > Excerpts from pahnin sd's message of Thu Mar 17 10:23:37 -0400 2011:

> > > I am using debian 6.0

> > > My wifi is working fine but I couldn't use lan on my laptop..

> > > It shows in gnome panel that, wired networks is not managed .. I have

> > > searched on internet but I could nt find gud solution.

> > > Please help me...

> >

> > What do lspci and ifconfig show? dmesg | grep eth could also help us

> > help you.

> > --

> >

>

> when I connectd lan wire dmesg | grep eth

>

> [ * *1.850489] sky2 eth0: addr 00:24:be:b8:13:7c

> [ * 15.630845] sky2 eth0: enabling interface

> [ * 15.631279] ADDRCONF(NETDEV_UP): eth0: link is not ready

> [ *101.670659] sky2 eth0: disabling interface

> [ *102.931253] sky2 eth0: enabling interface

> [ *102.931707] ADDRCONF(NETDEV_UP): eth0: link is not ready

> [ 9597.445540] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control

> both

> [ 9597.445976] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

> [ 9607.681270] eth0: no IPv6 routers present

>

> Ifconfig

>

> eth0 * * *Link encap:Ethernet *HWaddr 00:24:be:b8:13:7c

> * * * * * inet addr:192.168.212.53 *Bcast:192.168.215.255

> Mask:255.255.252.0

> * * * * * inet6 addr: fe80::224:beff:feb8:137c/64 Scope:Link

> * * * * * UP BROADCAST RUNNING MULTICAST *MTU:1500 *Metric:1

> * * * * * RX packets:2333 errors:0 dropped:0 overruns:0 frame:0

> * * * * * TX packets:86 errors:0 dropped:0 overruns:0 carrier:0

> * * * * * collisions:0 txqueuelen:1000

> * * * * * RX bytes:184831 (180.4 KiB) *TX bytes:9817 (9.5 KiB)

> * * * * * Interrupt:18

[...]

> wlan0 * * Link encap:Ethernet *HWaddr 2c:81:58:eb:95:45

> * * * * * inet addr:192.168.2.101 *Bcast:192.168.2.255 *Mask:255.255.255.0

> * * * * * inet6 addr: fe80::2e81:58ff:feeb:9545/64 Scope:Link

> * * * * * UP BROADCAST RUNNING MULTICAST *MTU:1300 *Metric:1

> * * * * * RX packets:39810 errors:0 dropped:0 overruns:0 frame:0

> * * * * * TX packets:39744 errors:0 dropped:0 overruns:0 carrier:0

> * * * * * collisions:0 txqueuelen:1000

> * * * * * RX bytes:27940617 (26.6 MiB) *TX bytes:7032624 (6.7 MiB)

>

> LSPCI

[...]

*03:00.4 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller

> 04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8057 PCI-E

> Gigabit Ethernet Controller (rev 10)

> 3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture

> Generic Non-core Registers (rev 02)

> 3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture

> System Address Decoder (rev 02)

> 3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)

> 3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev

> 02)

> 3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

> 3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

>

> > Thanks,

> > Phil

> >

> Thanks for your help

>

looks fine as long as



inet addr:192.168.212.53 *Bcast:192.168.215.255 Mask:255.255.252.0
how to change this





is correct for your network? Your wifi is getting an address from a

different subnet. Is that what you want? You may be completely aware but

in case you're not you'll need some routing between the two to get that

working. Have you added some routes for that?


I dont know how to do the above

Also, and this is unorthodox, but you might not be getting a default route.

what does route show?



And I know Marvell doesn't like Linux and vis-versa pre 2.6.something.

Although I don't think it would get an address from dhclient if this

were an issue - not sure there - What kernel are you running... uname -r would help

--
*2.6.32-5-686


Thanks,

Phil
 
Old 03-17-2011, 02:28 PM
pahnin sd
 
Default Ethernet connect problem

On Thu, Mar 17, 2011 at 8:41 PM, Matthew Dawson <matthewjd@gmail.com> wrote:


Hello,



> >> my /etc/network/interfaces file contains

> >

> > # This file describes the network interfaces available on your system

> > # and how to activate them. For more information, see interfaces(5).

> >

> > # The loopback network interface

> > auto lo

> > iface lo inet loopback

> >

> > # The primary network interface

> > auto eth0

> > iface eth0 inet dhcp

> >

> >

> > i dont know wht this dhcp is bt I havnt used this earlier and I am under my

> institute's(nitrkl.ac.in) firewall

> and at the installation time it automatically configured my laptop as

> phani.nitrkl.ac.in (I doubt this)

> Is my institute firewall making problem?

> As far as I know my institute supports *automatic DHCP configuration

As mentioned before, you should comment out the lines about eth0. *So your /etc/network/interfaces file should contain afterwards:


this is working I thought I shd uncomment sorry and thanx



# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).



# The loopback network interface

auto lo

iface lo inet loopback



# The primary network interface

#auto eth0

#iface eth0 inet dhcp







Afterwards run the command:

/etc/init.d/network-manager restart



And see if that works.



For others who come looking for a solution, the problem is network manager (the tool gnome uses to allow users to easily configure their network settings) ignores any interface you explicitly configure in /etc/network/interfaces. *By commenting out the lines and restarting the service, network manager will begin managing eth0. *This also applies if you use any other desktop environment which uses network manager as its backend.





Matthew





--

To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: http://lists.debian.org/201103171111.17567.matthewjd@gmail.com
 

Thread Tools




All times are GMT. The time now is 01:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org