Peppermint OS Community Forum

Support => Networking => Topic started by: Bigoeuf on February 08, 2017, 10:54:29 am

Title: Ethernet Problems
Post by: Bigoeuf on February 08, 2017, 10:54:29 am
The other day I bought a Cat5 lead & over the last day or so I have been trying to connect my laptop to the internet via the router. This is the first time I have tried this. I have connected via my phone both by tethered USB & mobile Wi-Fi hotspot & also via Wi-Fi to the broadband router - all with Network Manager - no real problems - Ethernet & Wi-Fi cards configured out the box when I installed Pepp 7  :)

Connected the laptop to the router with the Cat5 cable & set up & configured a new NM profile for eth0 interface - very basic settings:
 Connection Name: Router, Device:eth0(xx:xx:xx:xx:xx:xx),IPv4: Automatic (DHCP), IPv6:Ignore
Cant remember if I rebooted or not but was connected . Also the Default Profile was also there, pretty much the same settings as for the "Router" profile above & I was also able to connect with that one too. I'm not sure but here why the start of my problems lie because I thought, not unreasonably, I don't need 2 identical profiles - so I deleted the "Wired Ethernet 1" (Default) one, when I next booted the laptop - no eth0 connection.  ???

As far as can see if is down & I don't know to get it up:

Spoiler (click here to view / hide)
Code: [Select]
mick@mick-Inspiron-1501 ~ $ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether yy:yy:yy:yy:yy:yy brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.2/24 brd 192.168.0.255 scope global dynamic wlan0
       valid_lft 81598sec preferred_lft 81598sec
    inet6 xxxx:xxxx:xxxx:x:xxxx:xxxx:xxxx:xxxx/xx scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 yyyy:yyyy:yyyy:y:yyyy:yyyy:yyyy:yyyy/yy scope global noprefixroute dynamic
       valid_lft 6747sec preferred_lft 3147sec
    inet6 zzzz::zzzz:zzzz:zzzz:zzzz/zz scope link
       valid_lft forever preferred_lft forever
Code: [Select]
mick@mick-Inspiron-1501 ~ $ nmcli dev status
DEVICE  TYPE      STATE        CONNECTION
wlan0   wifi      connected    xxxxxxxxxx   
eth0    ethernet  unavailable  --         
lo      loopback  unmanaged    --

Code: [Select]

mick@mick-Inspiron-1501 ~ $ sudo lshw -C network
[sudo] password for mick:
  *-network               
       description: Network controller
       product: BCM4311 802.11b/g WLAN
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:05:00.0
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=b43-pci-bridge latency=0
       resources: irq:18 memory:c0200000-c0203fff
  *-network
       description: Ethernet interface
       product: BCM4401-B0 100Base-TX
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: eth0
       version: 02
       serial: xx:xx:xx:xx:xx:xx
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=2.0 duplex=half latency=64 link=no multicast=yes port=twisted pair speed=10Mbit/s
       resources: irq:21 memory:c0300000-c0301fff
  *-network
       description: Wireless interface
       physical id: 2
       logical name: wlan0
       serial: yy:yy:yy:yy:yy:yy
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=b43 driverversion=4.4.0-62-generic firmware=666.2 ip=192.168.0.2 link=yes multicast=yes wireless=IEEE 802.11bg
[close]

 -I've read up & tried a few thing to try to get it working, reinstate a "Wired Ethernet 1"(Default) profile in NM & also change my "Router" profile name to "Wired Ethernet 1", manual configuration of IPs in NM & on the router (re-booting both after)

Done:
Code: [Select]
mick@mick-Inspiron-1501 ~ $ nmcli connection up "Wired Ethernet 1"
Error: Connection activation failed: No suitable device found for this connection.

Also done:
Code: [Select]
sudo modprobe b44

and then rebooted

And:

Code: [Select]
sudo cp /var/lib/NetworkManager/NetworkManager.state /var/lib/NetworkManager/NetworkManager.state.bak
sudo systemctl stop NetworkManager.service
rm /var/lib/NetworkManager/NetworkManager.state
sudo systemctl start NetworkManager.service

So I am where I should of come in the first place - just thought I may be able to work it out for myself - anyone help me out?
Cheers  :)
Title: Re: Ethernet Problems
Post by: perknh on February 08, 2017, 11:25:13 am
Hi Bigouef,

It's strange you say this, I had problem connecting to the Ethernet this morning.  My solution was to turn off my modem and my computer, wait a minute, and then turn my modem and computer back on again.  Bigouef, have you tried turning your modem off and then turning it back on again?

perknh
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 08, 2017, 12:40:18 pm
I'm kind of surprised your system doesn't appear to be using "predictable network interface names" and is still using "eth0" and "wlan0" .. have do done something to force this ?

Anyway, what's the output from:
Code: [Select]
ls -a /etc/NetworkManager/system-connections
and
Code: [Select]
ifconfig
and
Code: [Select]
lspci -vnn | grep -i net
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 08, 2017, 02:53:25 pm
Evening Perknh
Thanks for your response - No I haven't done that - I have only rebooted both will do it after I have responded to Mark  ;)

And evening to you to  Mark - Cheers for piping up  :)

Quote
I'm kind of surprised your system doesn't appear to be using "predictable network interface names" and is still using "eth0" and "wlan0" .. have do done something to force this ?

Not that I am aware of - what would I have done to do this? Is it a problem? both interfaces appear to clearly & accurately identified?

Here's the info you asked for:

Code: [Select]
mick@mick-Inspiron-1501 ~ $ ls -a /etc/NetworkManager/system-connections
.  ..  517835  Moto G Tethered  PAJOIARO  Wired Ethernet 1

Code: [Select]
mick@mick-Inspiron-1501 ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
          UP BROADCAST 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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:21

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:65536  Metric:1
          RX packets:907 errors:0 dropped:0 overruns:0 frame:0
          TX packets:907 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:78562 (78.5 KB)  TX bytes:78562 (78.5 KB)

wlan0     Link encap:Ethernet  HWaddr yy:yy:yy:yy:yy:yy 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:18362 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17353 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17211010 (17.2 MB)  TX bytes:2130136 (2.1 MB)

Code: [Select]
mick@mick-Inspiron-1501 ~ $ lspci -vnn | grep -i net
05:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
08:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)

The Ethernet card is recognised in Network Manager:

http://imgur.com/a/byEs5 (http://imgur.com/a/byEs5)

And I don't know if this is of any use but this is my /etc/network/interfaces file:

Code: [Select]
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

In my trawling through forums I have seen eth0 listed here too  :-\
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 08, 2017, 03:12:03 pm
Okay I take it YOU modified the reply here:-

Quote
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST 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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:21

?

If you run:
Code: [Select]
sudo pluma "/etc/NetworkManager/system-connections/Wired Ethernet 1"
does it contain a line
mac-address=xx:xx:xx:xx:xx:xx
with the same address as the one reported by ifconfig ?



Quick question - Roughly how long is this ethernet cable ?
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 08, 2017, 03:54:20 pm
Quote
Okay I take it YOU modified the reply here:-

Indeed I did Mark - I didn't think you were supposed to publicise your Mac addresses?

Yes the mac address  is the same - only difference is the letters are capitalised in the file:

Code: [Select]
[connection]
id=Wired Ethernet 1
uuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
type=ethernet
interface-name=eth0
permissions=
secondaries=

[ethernet]
duplex=full
mac-address=xx:xx:xx:xx:xx:xx
mac-address-blacklist=

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto

Cable is 10m
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 08, 2017, 03:59:40 pm
Hello Perknh
Just to let you know I tried what you said - infact I left the laptop & the router switched off for about 10/15 mins but no joy I'm afraid  :-\
Title: Re: Ethernet Problems
Post by: perknh on February 08, 2017, 04:15:26 pm
Hello Perknh
Just to let you know I tried what you said - infact I left the laptop & the router switched off for about 10/15 mins but no joy I'm afraid  :-\

That's too bad, Bigouef.  That would have been such a simple solution.  It's just a coincidence that we both lost connectivity around the same time.  PCNetSpec, I'm sure, will figure this mystery out. ;)

I thought it might have had something to do with a wayward update of some sort.

perknh
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 08, 2017, 04:45:00 pm
Are you sure this isn't just the cable ?

Have you tried a different ethernet socket on the router ?

Can you install ethtool:
Code: [Select]
sudo apt-get install ethtool
Then post the output from:
Code: [Select]
sudo ethtool eth0



If you haven't got an active internet connection to install ethtool, download one of these 2 files on a PC that *has* got a connection:-

32bit Peppermint 7
http://cz.archive.ubuntu.com/ubuntu/pool/main/e/ethtool/ethtool_4.5-1_i386.deb

64bit Peppermint 7
http://cz.archive.ubuntu.com/ubuntu/pool/main/e/ethtool/ethtool_4.5-1_amd64.deb

Transfer it to the Peppermint 7 PC, and double-click it to install.
Title: Re: Ethernet Problems
Post by: perknh on February 08, 2017, 05:02:47 pm
I've been following the thread, PCNetSpec.  I was curious, so I ran the last command, but it didn't work for me.  I got this message instead:

Code: [Select]
perknh@peppermint ~ $ sudo ethtool eth0
[sudo] password for perknh:
sudo: ethtool: command not found
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 08, 2017, 05:14:23 pm
Code: [Select]
sudo apt-get install ethtool

Cheers perknh, I'll add this to the post above.
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 08, 2017, 05:37:22 pm
Quote
Are you sure this isn't just the cable ?

Have you tried a different ethernet socket on the router ?

Well all can say about the cable is it has worked (as I said in my OP). Its brand new and I have handled it with care (no bends, kinks or pulling of connectors) & unfortunately it is the only one I have.I have tried all 4 Ethernet sockets & even turned the cable round & done the same again.  :-\

Here's what you asked for Mark:

Code: [Select]
mick@mick-Inspiron-1501 ~ $ sudo ethtool eth0
Settings for eth0:
Supported ports: [ MII ]
Supported link modes:   10baseT/Half 10baseT/Full
                        100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
                        100baseT/Half 100baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000ff (255)
       drv probe link timer ifdown ifup rx_err tx_err
Link detected: no
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 08, 2017, 05:50:27 pm
well everything looks okay to me but it's not detecting a link

It would be handy if you could get another ethernet cable to test with.
Title: Re: Ethernet Problems
Post by: mac on February 08, 2017, 05:55:26 pm
If that doesn't work try logging into your router and checking your security settings....make sure your device is being allowed by the router. 

cheers
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 08, 2017, 06:03:16 pm
What's the output from:
Code: [Select]
sudo mii-tool -v eth0
then run
Code: [Select]
sudo mii-tool -R eth0
and post the output from:
Code: [Select]
sudo mii-tool -v eth0
again



For diagnostic purposes (to rule in/out hardware) it might be worth booting a LiveCD/LiveUSB and seeing if the ethernet cable/port works ?
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 08, 2017, 06:45:00 pm
Quote
For diagnostic purposes (to rule in/out hardware) it might be worth booting a LiveCD/LiveUSB and seeing if the ethernet cable/port works ?

Funny you should say that Mark cos I've just done that with a live USB - different distro tho - Miyolinux (Devuan/openbox based) lightweight & systemd free (that was my interest). It uses wcid & wouldn't connect but I don't know if it is properly configured so going to put pepp 7 on the stick because I know its ok  ;)

Yes a different Cat5 cable would indeed be good - but it won't be tonight  ;D

In the meantime:

Code: [Select]
mick@mick-Inspiron-1501 ~ $ sudo mii-tool -v eth0
[sudo] password for mick:
eth0: no link
  product info: vendor 00:10:18, model 54 rev 0
  basic mode:   autonegotiation enabled
  basic status: no link
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

Code: [Select]
mick@mick-Inspiron-1501 ~ $ sudo mii-tool -R eth0
resetting the transceiver...

Code: [Select]
mick@mick-Inspiron-1501 ~ $ sudo mii-tool -v eth0
eth0: no link
  product info: vendor 00:10:18, model 54 rev 0
  basic mode:   autonegotiation enabled
  basic status: no link
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

And Good evening Mac - thanks for the suggestion - I will take a look but as I said in my OP I did originally connect through the router via the Cat5 cable  :-\

Gonna sort this Live USB now  ;)
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 08, 2017, 07:30:07 pm
If it works from the liveUSB, can you install ethtool and post the output from
Code: [Select]
sudo ethtool eth0
So we can see what's different (if anything).
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 08, 2017, 07:40:30 pm
Well tried Ethernet connection with Pepp7 live USB & no joy  - what I find difficult to understand & accept is the fact that i have successfully connected already & now I can't  ???
 If you're fairly confident it's not a software/configuration issue then the logical thing is to get another Cat5 cable & test again with that. I will have a look at the Router config again too - an other ideas Mark before I, & probably you, knock off for the night  :)
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 08, 2017, 07:46:27 pm
Not really .. it looks like it's either a hardware problem (cable or network card)

or a config issue in ether the router or BIOS

Have you another PC you could test the cable with ?
(though even that might not be a 100% accurate test .. the other PC might be able to auto negotiate a link with that length of cable where this one can't .. signals degrade with cable length and rf interferance)

Have you looked inside the ethernet port to see if any of the pins are bent ?

PS. If any of the pins look bent DO NOT try to bend them back with the PC switched on ;)
(if they touch whilst powered you could fry the adapter or worse the entire motherboard)

PPS. If you *do* decide to get another cable, maybe go for cat6 (preferably shielded)
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 08, 2017, 08:07:00 pm
Well had a look in the Ethernet point & all the pins are uniform in shape - I've also looked in the BIOS (which is very basic on this old Inspiron) & I am at the moment looking at the Router config but nothing obvious that I can see.

Quote
Have you another PC you could test the cable with ?
(though even that might not be a 100% accurate test .. the other PC might be able to auto negotiate a link with that length of cable where this one can't .. signals degrade with cable length and rf interferance)

I'm afraid this Inspiron is all I've got & as I reiterated earlier I have had a connection already but a different, perhaps short cat5 cable is probably next up  ;)
Anyway "It's Good night from me..."  ;D

Roger that - cat6 cable ;)
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 08, 2017, 08:18:13 pm
Just a quick one before I go - is there anyway to test the ethernet adapter?
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 09, 2017, 06:22:15 am
Not really without testing it with a known good cable.
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 09, 2017, 09:10:04 am
Update:
Got good new 1m length cat5 cable however still the same & also no joy with live USB. Have reset router to default too.

So is there anyway that I can test the network card?

Are the modules/drivers loaded (think they are did modprobe b44 as per OP)?

 ???
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 09, 2017, 02:25:59 pm
Drivers must be loaded or you wouldn't be getting an "eth0" in ifconfig.

But you can check which drivers are currently loaded with
Code: [Select]
lsmod

Is this a laptop ?
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 09, 2017, 06:08:41 pm
Evening all
PCNetSpec said:
Quote
But you can check which drivers are currently loaded with
Code: [Select]

lsmod

Well b44 is listed therefore I presume it's loaded:

Code: [Select]
..........
b44                    36864  0
..............

Yes it's a laptop:

Code: [Select]
mick@mick-Inspiron-1501 ~ $ inxi -Fz
System:    Host: mick-Inspiron-1501 Kernel: 4.4.0-62-generic x86_64 (64 bit)
           Desktop: N/A Distro: Peppermint Seven
Machine:   System: Dell product: Inspiron 1501
           Mobo: Dell model: 0UW744 Bios: Dell v: 2.6.3 date: 12/07/2007
CPU:       Single core AMD Turion 64 Mobile MK-36 (-UP-) cache: 512 KB
           speed/max: 1600/2000 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RS482M [Mobility Radeon Xpress 200]
           Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1280x800@60.96hz
           GLX Renderer: Gallium 0.4 on ATI RS480 GLX Version: 2.1 Mesa 12.0.6
Audio:     Card Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA)
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.4.0-62-generic
Network:   Card-1: Broadcom BCM4311 802.11b/g WLAN driver: b43-pci-bridge
           IF: wlan0 state: up mac: <filter>
           Card-2: Broadcom BCM4401-B0 100Base-TX driver: b44
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 60.0GB (25.2% used)
           ID-1: /dev/sda model: SAMSUNG_HM060HI size: 60.0GB
Partition: ID-1: / size: 9.1G used: 6.1G (71%) fs: ext4 dev: /dev/sda5
           ID-2: swap-1 size: 2.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 49.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 172 Uptime: 19 min Memory: 748.3/1872.9MB
           Client: Shell (bash) inxi: 2.2.35

Any help?  :-\
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 10, 2017, 08:02:47 am
Code: [Select]
mick@mick-Inspiron-1501 ~ $ dmesg | grep eth0 > ~/Desktop/dmesg.txt

Just gives me a blank file - does this mean that the interface isn't showing link becomes ready??
 :-\
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 10, 2017, 07:52:40 pm
what's the output from
Code: [Select]
dmesg | grep -i b44

have you got IPv6 set to "Ignore" ?
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 10, 2017, 08:12:54 pm
Cheers for  getting back Mark - I can see you've been busy

Code: [Select]
mick@mick-Inspiron-1501 ~ $ dmesg | grep -i b44
mick@mick-Inspiron-1501 ~ $
Nothing

I've currently got IPv6 in my Wired connection 1 profile set to Automatic - although I have tried Ignore

I am also currently disconnected ethernet-wise but can connect  ;)
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 10, 2017, 08:26:17 pm
Okay that's odd  :-\

Can you run:
Code: [Select]
dmesg > ~/Desktop/dmesg.txt
then host the dmesg.txt file on your desktop online somewhere and PM me a link to it so I can take a look.
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 10, 2017, 08:32:54 pm
Okey dokey Mark  ;)
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 10, 2017, 09:01:57 pm
Have you got a stuck keyboard key because your dmesg output is just full of
Code: [Select]
[ 7757.995732] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
[ 7759.089821] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
and nothing much else.

Are you using a wireless Keyboard ?
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 10, 2017, 09:13:54 pm
If this is a laptop...

Shut it down

Remove the battery

Remove the power lead

Press the power button to discharge any remaining power in the capacitors.

Add the battery back in

Add the power lead back in

power on the PC

Run:
Code: [Select]
dmesg > ~/Desktop/dmesg2.txt
Host that file somewhere and PM me a link.
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 10, 2017, 09:17:14 pm
No its apparantly to with the power charging adapter on the this laptop - I wrote about it here:

Hello - had posted this under a different topic but removed it & started a new one because it is more appropriate.
Managed to scale new heights with boot time - almost 2 mins :o however I believe I know the problem - but rectifying it is a different matter.
Like I said boot time is long & on examining my dmesg i shows numerous instances of:
Code: [Select]
atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.

I have googled it & it appears that it is a not uncommon issue with Dell Inspiron 1501s - quite possibly that the BIOS is notifying me that "The AC adapter cannot be identified" (which has just recently started to be displayed on the screen during bootup between the BIOS screen & Grub screen.)

I have tried
Code: [Select]
setkeycodes e00d <keycode>
after reading this article here:
http://www.jveweb.net/en/archives/2011/01/configure-unrecognized-keys-in-linux.html (http://www.jveweb.net/en/archives/2011/01/configure-unrecognized-keys-in-linux.html)

but the terminal returns:
Code: [Select]
Couldn't get a file descriptor referring to the console

On further research into the Dell Inspiron 1501s Battery/AC charger side of things - specifically theses postings:
http://askubuntu.com/questions/116538/atkbd-c-spamming-the-logs-how-to-get-rid-what-is-this (http://askubuntu.com/questions/116538/atkbd-c-spamming-the-logs-how-to-get-rid-what-is-this)

https://bugzilla.redhat.com/show_bug.cgi?id=454131 (https://bugzilla.redhat.com/show_bug.cgi?id=454131)

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/549741 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/549741)

I did the following:

    Shut down your laptop.
    Unplug the power cord from your laptop, and unplug it also from the power outlet.
    Remove the battery from your laptop.
    Press and hold the Power button for 2 to 3 seconds.
    Repeat this 2 to 3 times.
    Plug the power cord back into your laptop (while leaving the power cord unplugged from the wall outlet)
    Press and hold the Power button again for 2 to 3 seconds.
    Repeat this 2 to 3 times.
    Reinstall the battery (at least 30 seconds should have gone by since you removed it).
    Plug the power cord into the wall outlet.
    Start your laptop

When I started up the:
Code: [Select]
atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
reports in the dmesg had gone however new reports had appeared  under apparmor entries & the boot time is roughly as long  ???

Here is my latest dmesg:
http://s000.tinyupload.com/index.php?file_id=26165262606183989402 (http://s000.tinyupload.com/index.php?file_id=26165262606183989402)

I don't know if there is anyone who can help me with what the apparmor entries mean & if there is anything I can do to reduce the boot time

Thanks  :)

No wireless keyboard - or anything  else for that matter - jut bog standard as it comes.

Do you want me to reboot & sent you one straight after  it?


Just seen your latest post - wildo  ;)
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 10, 2017, 09:23:52 pm
Yeah but it'll be tomorrow before I can get to it now .. need sleep :)
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 10, 2017, 09:32:45 pm
No worries  ;)

Its been sent
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 13, 2017, 06:45:15 pm
Hello Mark
Have you had a chance to look into this yet
Cheers  :)
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 18, 2017, 05:03:22 am
Good Morning All
Been off the forum this week while the birthday bonanza has been going on lol :D Anyway a belated happy birthday to you  ;)
Mark have you anything more on this?
Cheers
Bigoeuf  :)
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 21, 2017, 09:24:21 pm
Hello Mark - have you had a chance to look at the dmesg2.txt I sent you by PM back on the 11th?

 I have tested out the router & the Cat 5 lead & they are both fine yet when my laptop is connected to the router by the Cat 5 lead, the light on the LAN port on the router doesn't come on.  So if it is a hardware problem it is with the laptop. Anyway I plugged the Ethernet cable from the router to the laptop & kept an eye on the light for the socket on the back of the router which as I made the connection to the laptop briefly flashed & went out - so I deduce my dear Watson that there is an intermittent hardware fault with the RJ45 socket  on my laptop ....... B@#*!ck$  :( (unless you have any other ideas??)

In the meantime to cheaply upgraded my CPU & RAM so its a bit snappier & more resilient in multi-tasking - but alas I feel I might be flogging a dead horse as the charging jack doesn't allow battery charging (mains only + other issues), the Ethernet port is apparently knackered & I think the hard drive is on borrowed time  ::)
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 22, 2017, 01:42:37 pm
Sorry I haven't .. and embarrassingly I seem to have misplaced it, can you send it again please.

But by the sound of things it's probably time for a new PC my mate ;)
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 23, 2017, 07:01:16 am
Morning Mark

Sorry I haven't .. and embarrassingly I seem to have misplaced it, can you send it again please.

But by the sound of things it's probably time for a new PC my mate ;)

Indeed the 'Old Girl' (this Inspiron 1501) has seen better days but I will try & keep her going - may even have a dabble at some soldering repairs on the motherboard, which is what appears to be what is required  ;)

Regarding the dmseg.txt it was a dropbox link in the last PM I sent you - I you havent got that let me know & I'll resend it + an up to date one straight after boot into the OS - it would be good if you could let me know if there is anything obvious (& not just for this issue too  ;))
Cheers  :)
Title: Re: Ethernet Problems
Post by: perknh on February 23, 2017, 07:34:51 am
Indeed the 'Old Girl' (this Inspiron 1501) has seen better days but I will try & keep her going...

Are you saying that the old grey mare ain't what she used to be?  :(
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 23, 2017, 08:08:35 am
Indeed the 'Old Girl' (this Inspiron 1501) has seen better days but I will try & keep her going...

Are you saying that the old grey mare ain't what she used to be?  :(

Well she was never going to win the Derby or the Cheltenham Gold Cup (or even the Paulsgrove Tarmacers Trophy at Fontwell for that matter) but she'd be good for the daily trot down the local bridlepath (which in truth is all I am really after)  ;D having said that yes Perknh you're right she is getting a bit woolly round the edges - but a bit of TLC may keep her clip-clopping along  :D
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 23, 2017, 09:59:01 am
Okay I've looked though dmesg2.txt (and after removing all that "atkbd key pressed" spam) it looks like the adapter is being initialised,  the b44 driver is being loaded, and it's being assigned the "eth0" device node .. but it's simply not recognising it's attached to anything.

Normally I's say "cable problem" .. but if you're sure that's not the case you'd have to suspect a hardware problem.

Have we tried a different kernel yet ?
(though if it's not working in Windows either, there's probably no point)
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 26, 2017, 06:05:54 pm
Okay I've looked though dmesg2.txt (and after removing all that "atkbd key pressed" spam) it looks like the adapter is being initialised,  the b44 driver is being loaded, and it's being assigned the "eth0" device node .. but it's simply not recognising it's attached to anything.

Normally I's say "cable problem" .. but if you're sure that's not the case you'd have to suspect a hardware problem.

Have we tried a different kernel yet ?
(though if it's not working in Windows either, there's probably no point)

Cheers for taking a look Mark - I pretty much agree with your conclusion that it is indeed a hardware problem. I have tested it with Windows XP & a couple of other linux distros via live USB (each with a different kernel my pepp 7 install one) & had zilch. Like I mentioned earlier I think the soldering iron is the most likely solution. So I think I will leave it there - shall I mark it as SOLVED??
 :)
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 26, 2017, 06:21:26 pm
shall I mark it as SOLVED??
 :)

Nah because it doesn't contain a solution, just leave the topic to die a natural death and slide into history ;)
Title: Re: Ethernet Problems
Post by: Bigoeuf on February 26, 2017, 07:26:32 pm
Okey doke - if I get round to soldering the ethernet port on the motherboard & if it solves it as Arnie would say "I'll be Back"  ;)
Title: Re: Ethernet Problems
Post by: perknh on February 26, 2017, 08:57:50 pm
Okey doke - if I get round to soldering the ethernet port on the motherboard & if it solves it as Arnie would say "I'll be Back"  ;)

And in Terminator 2: Judgment Day, he'd say, "No problemo."

Bigoeuf, I love the first two movies of that series!

no problemo: 
Code: [Select]
https://www.youtube.com/watch?v=CtNb1dnEaSQ
Title: Re: Ethernet Problems
Post by: PCNetSpec on February 26, 2017, 09:04:58 pm
Fine soldering onto motherboards is now beyond my capabilities .. hands aren't as steady as they once were, I now end up with what looks like some giant chrome pigeon took a dump :(