View Single Post
  #8   (View Single Post)  
Old 8th October 2010
passthejoe passthejoe is offline
Real Name: Steven
Port Guard
 
Join Date: Oct 2010
Location: Los Angeles
Posts: 30
Default I figured it out - setting the media type brought alc0 to life

For some reason, my Lenovo G555 is reacting a bit differently. This one has the Atheros AR8132 10/100 Ethernet interface.

Here’s what worked:

First I checked for available media types:

Code:
# ifconfig alc0 media
alc0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
   lladdr 70:5a:b6:63:f8:ce
   priority: 0
   media: Ethernet autoselect (none)
   status: no carrier
   supported media:
       media none
       media 10baseT
       media 10baseT mediaopt full-duplex
       media 100baseTX
       media 100baseTX mediaopt full-duplex
       media 1000baseT mediaopt full-duplex
       media autoselect
I think what’s happening is that OpenBSD thinks the AR8132 is a gigabit port when it’s only a 100 megabit port. Setting the media type manually brings the interface to life:

Code:
# ifconfig alc0 media 100baseTX
# dhclient alc0
DHCPDISCOVER on alc0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on alc0 to 255.255.255.255 port 67 interval 9
DHCPOFFER from 10.13.1.254 (00:23:34:0d:f4:19)
DHCPREQUEST on alc0 to 255.255.255.255 port 67
DHCPACK from 10.13.1.254 (00:23:34:0d:f4:19)
bound to 10.13.100.71 -- renewal in 45030 seconds.
#
Now I’m running jggimi’s live Xfce image of OpenBSD 4.7.

I'd post the link in the FreeBSD Forums that tipped me off to this, but I haven't written enough posts here to receive that privilege. Suffice it to say that a search for alc on the FreeBSD Forums will bring up the relevant entries.
Reply With Quote