[solved]: Atheros 8151 internet config

New to Debian (Or Linux in general)? Ask your questions here!

Re: Atheros 8131 internet config [login solved]

Postby nadir » 2011-06-27 22:39

"Return nothing" in Unix (usually) is a good sign (aka success of command). Its not exactly what i call chatty.
In the thread over at aptosid-forum they said to use ceni after running those commands.
Try:
Code: Select all
ifconfig -a

again. If this time it shows your card try:
Code: Select all
dhclient eth0

Replace eth0 with the result of ifconfig.
If that works, edit /etc/network/interfaces accordingly (just use a searchengine, its two self-explaining lines. I think bugsbunny gave an example above).
If it, ifconfig -a, does not show your card i was on the wrong track.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5965
Joined: 2009-10-05 22:06
Location: away

Re: Atheros 8131 internet config [login solved]

Postby Technopenguin » 2011-06-28 02:36

Code: Select all
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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)


I'm a bit lost here - what should I take from here and put into the dhclient command?

In the thread over at aptosid-forum they said to use ceni after running those commands.

Network configuration, wicd, ceni, I could use any of these right? However, as bugsbunny said, it should be easy to simply adjust the interfaces file, in regards to adjusting my ethernet device.

If that works, edit /etc/network/interfaces accordingly (just use a searchengine, its two self-explaining lines. I think bugsbunny gave an example above).


Right now I've got the interfaces file set in DHCP mode, so I'm ok there. Simply have yet to input the dhclient with the desired bit from ifconfig -a.
User avatar
Technopenguin
 
Posts: 45
Joined: 2011-06-25 03:52

Re: Atheros 8131 internet config [login solved]

Postby bugsbunny » 2011-06-28 05:32

The problem is that the ethernet card isn't being setup for some reason. what's the output of
Code: Select all
# dmesg|grep -i atheros
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Atheros 8131 internet config [login solved]

Postby Technopenguin » 2011-06-28 17:25

Code: Select all
root@localhost:~#dmesg|grep -i atheros

No output.
User avatar
Technopenguin
 
Posts: 45
Joined: 2011-06-25 03:52

Re: Atheros 8131 internet config [login solved]

Postby bugsbunny » 2011-07-01 14:08

Look trough the log files and see if you can find anything relevant. start with syslog.
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Atheros 8131 internet config [login solved]

Postby Technopenguin » 2011-07-02 15:56

For the logs, is the only place to look /var/log ?
I'm going to start with searching for anything with 0000:05 etc. in it.

Still wondering about whether I was missing the necessary driver, I checked this site: http://kmuto.jp/debian/hcl/index and put in the result to lspci -n; it says the driver needed is atl1c, the one I already have (see below).
19691083 Yes Atheros Communications AR8151 v2.0 Gigabit Ethernet atl1c v2.6.38-
This was just a another way to rule out the possibility of a missing driver, and thus a kernel update needed. Especially since I was thinking the wrong number-8131 when it's 8151.
Like you said, the ethernet card simply isn't being set up for some reason; it wasn't during the installation.
User avatar
Technopenguin
 
Posts: 45
Joined: 2011-06-25 03:52

Re: Atheros 8151 internet config [login solved]

Postby bugsbunny » 2011-07-02 18:24

logs are all in /var/log

Actually the output of dmesg should contain something relevant
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Atheros 8151 internet config [login solved]

Postby Technopenguin » 2011-07-02 18:28

Ok, I looked through the logs in /var/logs searching for "0000:05", as well as 'dhc' and 'dhclient', since dhclient may have been used whenever the interfaces file was configured for dhcp.
The three files at the bottom, syslog.3, syslog, and daemon.log, have information that seems to be most relevant.

/var/log/debug has some 15 lines of basically this:
Code: Select all
Jun 27 03:36:00 localhost kernel: [    0.307810] pci 0000:05:00.0: reg 10 64bit mmio: [0xfe500000-0xfe53ffff]
Jun 27 03:36:00 localhost kernel: [    0.307821] pci 0000:05:00.0: reg 18 io port: [0xd000-0xd07f]


/var/log/cups/error_log.1
Code: Select all
E [27/Jun/2011:09:21:02 +0000] Unable to bind socket for address ::1:631 - Cannot assign requested address.

/var/log/exim4/mainlog.3
Code: Select all
2011-06-28 08:58:23 exim 4.72 daemon started: pid=1521, -q30m, listening for SMTP on [127.0.0.1]:25 [::1]:25
2011-06-29 00:56:50 exim 4.72 daemon started: pid=1514, -q30m, listening for SMTP on [127.0.0.1]:25 [::1]:25


/var/log/exim4/paniclog
Code: Select all
2011-06-27 09:25:32 socket bind() to port 25 for address ::1 failed: Cannot assign requested address: daemon abandoned

There's an error on startup, when jumping the the first terminal, that tells me my mail system is possibly broken; exim4 is mentioned.

/var/log/exim4/mainlog
Code: Select all
2011-07-01 04:19:20 1QcVCK-0000US-7I Error while reading message with no usable sender address (R=1QcVCK-0000UL-5H): at least one malformed recipient address: root@(none - domain missing or malformed
2011-07-01 04:19:20 1QcVCK-0000UL-5H Process failed (1) when writing error message to root@(none (frozen)
2011-07-01 04:19:27 1QcVCR-0000Vi-HW <= root@(none U=root P=local S=1127
2011-07-01 04:19:27 1QcVCR-0000Vi-HW ** root@(none R=nonlocal: Mailing to remote domains not supported
2011-07-01 04:19:27 1QcVCR-0000Vk-Ht Error while reading message with no usable sender address (R=1QcVCR-0000Vi-HW): at least one malformed recipient address: root@(none - domain missing or malformed
2011-07-01 04:19:27 1QcVCR-0000Vi-HW Process failed (1) when writing error message to root@(none (frozen)
2011-07-01 23:24:18 exim 4.72 daemon started: pid=1546, -q30m, listening for SMTP on [127.0.0.1]:25 [::1]:25


/var/log/installer/syslog
Code: Select all
Jun 27 01:43:18 kernel: [    0.200283] pci 0000:05:00.0: reg 10 64bit mmio: [0xfe500000-0xfe53ffff]
Jun 27 01:43:18 kernel: [    0.200294] pci 0000:05:00.0: reg 18 io port: [0xd000-0xd07f]

Jun 27 01:43:18 kernel: [    0.200388] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Jun 27 01:43:18 kernel: [    0.200395] pci 0000:05:00.0: PME# disabled

Jun 27 01:43:18 kernel: [    0.269272] pci 0000:00:1c.2: PCI bridge, secondary bus 0000:05
Jun 27 01:43:18 kernel: [    0.269276] pci 0000:00:1c.2:   IO window: 0xd000-0xdfff

Jun 27 01:43:18 kernel: [    0.269459] pci_bus 0000:05: resource 0 io:  [0xd000-0xdfff]
Jun 27 01:43:18 kernel: [    0.269461] pci_bus 0000:05: resource 1 mem: [0xfe500000-0xfe5fffff]

Jun 27 01:43:18 kernel: [    0.200283] pci 0000:05:00.0: reg 10 64bit mmio: [0xfe500000-0xfe53ffff]
Jun 27 01:43:18 kernel: [    0.200294] pci 0000:05:00.0: reg 18 io port: [0xd000-0xd07f]
Jun 27 01:43:18 kernel: [    0.200388] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Jun 27 01:43:18 kernel: [    0.200395] pci 0000:05:00.0: PME# disabled


There's an installer log from the cd install that tells me I have netcfg installed.

/var/log/kern.log
Code: Select all
Jul  1 04:14:19 localhost kernel: [    0.304444] pci 0000:05:00.0: reg 10 64bit mmio: [0xfe500000-0xfe53ffff]
Jul  1 04:14:19 localhost kernel: [    0.304455] pci 0000:05:00.0: reg 18 io port: [0xd000-0xd07f]
Jul  1 04:14:19 localhost kernel: [    0.304549] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Jul  1 04:14:19 localhost kernel: [    0.304556] pci 0000:05:00.0: PME# disabled


/var/log/daemon.log
Code: Select all
Jun 28 07:26:31 localhost dhclient: Bind socket to interface: No such device
Jun 28 07:26:48 localhost dhclient: Unsupported device type 772 for "lo"
Jun 28 07:26:57 localhost dhclient: Bind socket to interface: No such device
Jun 28 07:27:07 localhost dhclient: Bind socket to interface: No such device

Jun 28 09:00:42 localhost dhclient: No broadcast interfaces found - exiting.
Jun 28 09:00:57 localhost dhclient: Internet Systems Consortium DHCP Client 4.1.1-P1
Jun 28 09:00:57 localhost dhclient: Copyright 2004-2010 Internet Systems Consortium.
Jun 28 09:00:57 localhost dhclient: All rights reserved.
Jun 28 09:00:57 localhost dhclient: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 09:00:57 localhost dhclient: Usage: dhclient [-4|-6] [-SNTP1dvrx] [-nw] [-p <port>] [-s server]
Jun 28 09:00:57 localhost dhclient:                 [-cf config-file] [-lf lease-file][-pf pid-file] [-e VAR=val]
Jun 28 09:00:57 localhost dhclient:                 [-sf script-file] [interface]


/var/log/syslog.3
Code: Select all
Jun 28 07:26:31 localhost dhclient: Bind socket to interface: No such device
Jun 28 07:26:48 localhost dhclient: Unsupported device type 772 for "lo"
Jun 28 07:26:57 localhost dhclient: Bind socket to interface: No such device
Jun 28 07:27:07 localhost dhclient: Bind socket to interface: No such device

Jun 28 09:00:42 localhost dhclient: No broadcast interfaces found - exiting.
Jun 28 09:00:57 localhost dhclient: Internet Systems Consortium DHCP Client 4.1.1-P1
Jun 28 09:00:57 localhost dhclient: Copyright 2004-2010 Internet Systems Consortium.
Jun 28 09:00:57 localhost dhclient: All rights reserved.
Jun 28 09:00:57 localhost dhclient: For info, please visit https://www.isc.org/software/dhcp/
Jun 28 09:00:57 localhost dhclient: Usage: dhclient [-4|-6] [-SNTP1dvrx] [-nw] [-p <port>] [-s server]
Jun 28 09:00:57 localhost dhclient:                 [-cf config-file] [-lf lease-file][-pf pid-file] [-e VAR=val]
Jun 28 09:00:57 localhost dhclient:                 [-sf script-file] [interface]


/var/log/syslog
Code: Select all
Jul  1 23:24:17 localhost kernel: [    0.376872] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
Jul  1 23:24:17 localhost kernel: [    0.377008] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
Jul  1 23:24:17 localhost kernel: [    0.377208] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
Jul  1 23:24:17 localhost kernel: [    0.377310] TCP: Hash tables configured (established 131072 bind 65536)
Jul  1 23:24:17 localhost kernel: [    0.377312] TCP reno registered
Jul  1 23:24:17 localhost kernel: [    0.377356] NET: Registered protocol family 1
User avatar
Technopenguin
 
Posts: 45
Joined: 2011-06-25 03:52

Re: Atheros 8151 internet config [login solved]

Postby bugsbunny » 2011-07-02 21:14

Just dump the output of dmesg to a pastebin site and post the link here

Most of the things you posted are symptoms, but don't point to the actual problem.
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Atheros 8151 internet config [login solved]

Postby Technopenguin » 2011-07-03 16:16

http://pastebin.com/x1YEQK7t
Here is my dmesg file.
User avatar
Technopenguin
 
Posts: 45
Joined: 2011-06-25 03:52

Re: Atheros 8151 internet config [login solved]

Postby bugsbunny » 2011-07-03 17:09

Strange - there seems to be no reference at all to the ethernet card in there. Long shot, but what the heck. Make sure that you have the network card enabled in the BIOS.

I'm not sure what's going on at the moment. All I do know is that it appears the card isn't being seen, and I don't know why.
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Atheros 8151 internet config [login solved]

Postby Technopenguin » 2011-07-03 17:19

Interesting that it wouldn't be enabled in the BIOS (acutally UEFI for me). One question though. It mentioned "TCP cubic registered", which seems internet related. TCP is mentioned a couple times elsewhere. Still no blatant message about ethernet.
I'm not sure about the UEFI idea, though. Parted magic was able to get the ethernet working. I'll check the UEFI anyway.
User avatar
Technopenguin
 
Posts: 45
Joined: 2011-06-25 03:52

Re: Atheros 8151 internet config [login solved]

Postby Technopenguin » 2011-07-03 17:36

South Bridge coniguration: Onboard LAN enabled.
If it's worth anything, the dmesg from parted magic:
http://pastebin.com/SMhirgtd

[Edit:] Did a find command for 'tcp' in my browser, I'm finding parts that are identical between the two. Difference is that there's no mention of 'RPC' in my dmesg.
User avatar
Technopenguin
 
Posts: 45
Joined: 2011-06-25 03:52

Re: Atheros 8151 internet config [login solved]

Postby Technopenguin » 2011-07-04 11:42

After a series of tests, I have come a to a possible solution: recompiling for the 2.6.38 kernel.
I tested various Linux distros: Arch, Slackware, Ubuntu, Parted Magic, and Tiny Core.
Debian had the oldest kernel: 2.6.32 No ethernet.
Tiny core and Arch have 2.6.33. No ethernet.
Slackware has 2.6.37. Not sure if ethernet is working, I'm not up to the level of Slackware. The installer seemed to have trouble finding a suitable module. However, the dmesg portions were very similar to parted magic: a mention of 'initialization for XFRM socket' is contained in dmesg for pmagic and slackware.
Parted magic and ubuntu, kernel 2.6.38. Both have working ethernet.
It's worth a shot.
User avatar
Technopenguin
 
Posts: 45
Joined: 2011-06-25 03:52

Re: Atheros 8151 internet config [login solved]

Postby bugsbunny » 2011-07-05 17:15

You'll find a newer kernel in backports
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

PreviousNext

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable