Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wireless-tools
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
twstd3bc
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 289
Location: Los Angeles, USA

PostPosted: Fri Sep 07, 2007 9:59 am    Post subject: wireless-tools Reply with quote

I did an emerge update for the latest stable wireless-tools to cure the problem reported at https://forums.gentoo.org/viewtopic-t-577747-highlight-wireless+extension.html, and now I get the follwoing error when boting 2.6.22-gentoo-r5:

Code:
# /etc/init.d/net.eth1 start
 * Starting eth1
 *   Configuring wireless network for eth1
 *     eth1 connected to ESSID "whistler" at 00:0D:88:83:50:D9
 *     in managed mode on channel 1 (WEP enabled - restricted)
 *   Bringing up eth1
 *     dhcp
 *       Running dhcpcd ...
Error, eth1: interface is not Ethernet, FireWire, InfiniBand or Token Ring


Any pointers? That last phrase doesn't even show up on Google searches.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Sep 07, 2007 11:34 am    Post subject: Reply with quote

Can you post emerge --info ?

Also, did you upgraded you kernel, because if so, you need to reinstall your wifi driver in order to have a working network.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 07, 2007 2:10 pm    Post subject: Reply with quote

Please post output of /sbin/ip a show dev eth1
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
twstd3bc
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 289
Location: Los Angeles, USA

PostPosted: Fri Sep 07, 2007 7:41 pm    Post subject: Reply with quote

d2_racing wrote:
Can you post emerge --info ?

Here's emerge --info (note that the kernel is different-- I can't get on the net with the newer kernel).
Code:
 # emerge --info
Portage 2.1.2.12 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 07 Sep 2007 08:30:08 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dv dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gcj gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kerberos ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf png pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts unicode vorbis x264 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vesa vmware fbdev fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Quote:
Also, did you upgraded you kernel, because if so, you need to reinstall your wifi driver in order to have a working network.


I did upgrade the kernel-- everything works fine with the old kernel 2.6.20-gentoo-r8. But the driver is in the kernel. It looks like the wireless device associates with the access point just fine, but it gives a strange error.[/quote]
Back to top
View user's profile Send private message
twstd3bc
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 289
Location: Los Angeles, USA

PostPosted: Fri Sep 07, 2007 7:42 pm    Post subject: Reply with quote

UberLord wrote:
Please post output of /sbin/ip a show dev eth1


I don't have /sbin/ip. Is this the problem?
Back to top
View user's profile Send private message
twstd3bc
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 289
Location: Los Angeles, USA

PostPosted: Fri Sep 07, 2007 8:00 pm    Post subject: /sbin/ip Reply with quote

O.k., I installed iproute2 and here's the output in the new kernel:
Code:

# /sbin/ip a show dev eth1
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ieee802.11 MY:MA:CA:DD:RE:SS brd ff:ff:ff:ff:ff:ff

dhcpcd -d eth1 still gives me the error.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 07, 2007 8:24 pm    Post subject: Reply with quote

What wireless driver is that?
Do you have any other interfaces?
How about just the "ip a" output?
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
twstd3bc
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 289
Location: Los Angeles, USA

PostPosted: Fri Sep 07, 2007 8:51 pm    Post subject: Reply with quote

UberLord wrote:
What wireless driver is that?
Do you have any other interfaces?
How about just the "ip a" output?


The driver is hostap_pci for a Linksys WMP11 PCI card. I have a wired interface, which is assigned to eth0.

/sbin/ip a yields (in the old working kernel)

Code:

$ /sbin/ip a
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:19:21:9a:03:4c brd ff:ff:ff:ff:ff:ff
3: wifi0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ieee802.11 00:06:25:09:4a:01 brd ff:ff:ff:ff:ff:ff
4: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
    link/ether 00:06:25:09:4a:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.101/24 brd 192.168.1.255 scope global eth1
    inet6 fe80::206:25ff:fe09:4a01/64 scope link
       valid_lft forever preferred_lft forever


I'll check he command in the new kernel
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 07, 2007 9:33 pm    Post subject: Reply with quote

That's why it worked - eth1 registers as an ethernet device, not an ieee802.11 link
What's the full "ip a" output in your broken kernel?
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
twstd3bc
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 289
Location: Los Angeles, USA

PostPosted: Thu Sep 13, 2007 4:21 am    Post subject: Reply with quote

UberLord wrote:
That's why it worked - eth1 registers as an ethernet device, not an ieee802.11 link
What's the full "ip a" output in your broken kernel?


O.k., I think the problem is that kernel 2.6.22 calls my wireless device wlan0 while kernel 2.6.20 calls it eth1. So I removed the automatically generated udev rule, and started wlan0 instead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum