Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ifconfig eth0 failed [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Tue Dec 01, 2009 3:55 pm    Post subject: ifconfig eth0 failed [SOLVED] Reply with quote

hi everyone...

sorry for serving in this topic not clear quotes

i have a fresh installed gentoo amd64 (tuxonice-sources 2.6.31)

everything runs fine (xfce4)

but i am not able to connect via wicd (to a wpa network)

________

# ifconfig
lo (gives me all info about lo, lists no eth0 or wlan0)

#ifconfig eth0
(gives me all info about eth0(no routes, no ip), lists no lo no wlan0)

# tail /var/log/wicd/wicd.log

...[ 'ifconfig' ] unable to find wlan0

___________


any ideas what could went wrong? or how to fix it?

thanks

PS

why does gentoo liveDVD doesn't use a /etc/wpa_supplicant/wpa_supplicant.conf ??
_________________
Always look on the bright side of live. badu badubadubado


Last edited by strubbldesign on Fri Dec 18, 2009 5:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Tue Dec 01, 2009 8:21 pm    Post subject: Reply with quote

as I have wpa_supplicant and installed and wicd added to runlevel boot I do not have
Code:
#iwlist


any ideas?
_________________
Always look on the bright side of live. badu badubadubado
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Wed Dec 02, 2009 12:10 pm    Post subject: Reply with quote

now I am able (different location) to paste the outputs

log file of wicd.log
Quote:
daxbau fysi # tail /var/log/wicd/wicd.log
2009/12/02 13:01:50 ::
2009/12/02 13:01:50 :: eth0: checking 192.168.7.10 is available on attached networks
2009/12/02 13:01:50 ::
2009/12/02 13:01:55 :: eth0: leased 192.168.7.10 for 259200 seconds
2009/12/02 13:01:55 ::
2009/12/02 13:01:55 ::
2009/12/02 13:01:55 :: DHCP connection successful
2009/12/02 13:01:55 :: Connecting thread exiting.
2009/12/02 13:01:55 :: Sending connection attempt result Success
2009/12/02 13:01:55 :: Running command ['iwconfig', 'wlan0'] failed: [Errno 2] No such file or directory
daxbau fysi #


(i also have removed device-mapper from bootrunlevel and don't get the errormessage (that it is written for baselayout2) still running on baselayout1 (do i really have to upgrade it?)

here's my /etc/conf.d/net
Quote:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
#config_eth0=( "192.168.0.56 netmask 255.255.255.0 brd 192.168.1.255" )
#routes_eth0=( "default via 192.168.0.254" )
dns_domain_lo="workgroup"
config_eth0=( "dhcp" )
config_wlan0=( "dhcp" )
#nameserver wlan0="208.67.222.222"
# dhcp_eth0="nodns nontp nonis"
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="iwlagn"


here's my rc-update list
Quote:
daxbau fysi # rc-update show --verbose
acpid |
alsasound | boot
apache2 |
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop |
cupsd |
dbus | default
device-mapper |
dmcrypt |
dmeventd |
fbcondecor |
fuse |
gpm |
hald | default
hibernate-cleanup |
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
mysql |
mysqlmanager |
net.eth0 |
net.lo | boot
net.wlan0 |
netmount | default
nscd |
numlock |
pciparm |
pwcheck |
pydoc-2.6 |
rmnologin | boot
rsyncd |
samba |
saslauthd |
slapd |
sshd |
syslog-ng | default
udev |
udev-dev-tarball |
udev-mount |
udev-postmount |
urandom | boot
vixie-cron | default
wicd | boot
xdm |
xdm-setup |
xinetd |
daxbau fysi # rc-update show --verbose
acpid |
alsasound | boot
apache2 |
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop |
cupsd |
dbus | default
device-mapper |
dmcrypt |
dmeventd |
fbcondecor |
fuse |
gpm |
hald | default
hibernate-cleanup |
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
mysql |
mysqlmanager |
net.eth0 |
net.lo | boot
net.wlan0 |
netmount | default
nscd |
numlock |
pciparm |
pwcheck |
pydoc-2.6 |
rmnologin | boot
rsyncd |
samba |
saslauthd |
slapd |
sshd |
syslog-ng | default
udev |
udev-dev-tarball |
udev-mount |
udev-postmount |
urandom | boot
vixie-cron | default
wicd | boot
xdm |
xdm-setup |
xinetd |


also thewpa_supplicant.conf it is a wpa(1) network
Quote:
daxbau fysi # more /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
ssid="KH-H2-2.2"
psk="XXXXXXXXXXXX"
priority=9
}


last but not least emerge --info
Quote:
daxbau fysi # emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-tuxonice x86_64)
=================================================================
System uname: Linux-2.6.31-tuxonice-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 29 Nov 2009 22:15:01 +0000
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.2-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion berkdb bzip2 cairo cddb cdr cli cracklib crypt cups dbus directfb divx dri dvd fbcon fbcondecor fbsplash fortran gdbm gif glitz gpm gtk hal iconv ipv6 ipw4965 java jpeg lame ldap-sasl libwww mad mmx modules mp3 mp4 mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp oss paludis pam pcre pdf perl php png pppd python qt qt3support readline reflection samba sasl session smp spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora threads thumbnail tiff truetype unicode userlocales vhosts vim vim-syntax vorbis wma x264 xcb xml xorg xscreensaver xslt xv xvid xvmc 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY




what did I miss??

thanks for your help and patience
_________________
Always look on the bright side of live. badu badubadubado
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: Wed Dec 02, 2009 12:51 pm    Post subject: Reply with quote

Hi, did you install wireless-tools ?

Code:

# emerge -av wireless-tools
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Wed Dec 02, 2009 2:29 pm    Post subject: Reply with quote

d2_racing wrote:
Hi, did you install wireless-tools ?

no I haven't

1st I thougt wireless-tools is incompatible to wpa (only wep)
2nt if you look at the settings at /etc/conf.d/net there is an entry
Quote:
modules=( "wpa_supplicant" )
wich indicates that wpa_supplicant should be used instead of wireless-tools

or did i understand the wpa_supplicant gentoo howto guide wrong??
_________________
Always look on the bright side of live. badu badubadubado
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Wed Dec 02, 2009 2:35 pm    Post subject: Reply with quote

PS:
do I need net-misk/networkmanager?

it pulls as dependencies "wireless-tools"
_________________
Always look on the bright side of live. badu badubadubado
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: Thu Dec 03, 2009 3:04 am    Post subject: Reply with quote

I asked you this because of this error :

Code:

2009/12/02 13:01:55 :: Sending connection attempt result Success
2009/12/02 13:01:55 :: Running command ['iwconfig', 'wlan0'] failed: [Errno 2] No such file or directory


iwconfig is part of the wireless-tools package.
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Thu Dec 03, 2009 9:17 am    Post subject: Reply with quote

So does that mean to install both? Wireless-tools and wpa_supplicant?

Are there any miss-set configlines?
_________________
Always look on the bright side of live. badu badubadubado
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: Thu Dec 03, 2009 5:53 pm    Post subject: Reply with quote

Yes.
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Sat Dec 05, 2009 8:44 am    Post subject: Reply with quote

do you mean "yes" to all three questions?

if so could you please tell me what i have miss-confed?
_________________
Always look on the bright side of live. badu badubadubado
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Sat Dec 05, 2009 10:39 am    Post subject: Reply with quote

now i also added dhcdbd and networkmanager like: http://www.gentoo-wiki.info/HOWTO_NetworkManager

still the same
_________________
Always look on the bright side of live. badu badubadubado
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Sat Dec 05, 2009 12:33 pm    Post subject: Reply with quote

how can it be: https://forums.gentoo.org/viewtopic-t-805594.html that he has no configlines in /etc/conf.d/net
_________________
Always look on the bright side of live. badu badubadubado
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Sat Dec 05, 2009 12:50 pm    Post subject: Reply with quote

here's some helpfull output

lspci -n
Quote:
(chroot) livecd / # lspci -n
00:00.0 0600: 8086:2a00 (rev 0c)
00:01.0 0604: 8086:2a01 (rev 0c)
00:03.0 0780: 8086:2a04 (rev 0c)
00:03.2 0101: 8086:2a06 (rev 0c)
00:03.3 0700: 8086:2a07 (rev 0c)
00:19.0 0200: 8086:1049 (rev 03)
00:1a.0 0c03: 8086:2834 (rev 03)
00:1a.1 0c03: 8086:2835 (rev 03)
00:1a.7 0c03: 8086:283a (rev 03)
00:1b.0 0403: 8086:284b (rev 03)
00:1c.0 0604: 8086:283f (rev 03)
00:1c.1 0604: 8086:2841 (rev 03)
00:1c.4 0604: 8086:2847 (rev 03)
00:1d.0 0c03: 8086:2830 (rev 03)
00:1d.1 0c03: 8086:2831 (rev 03)
00:1d.2 0c03: 8086:2832 (rev 03)
00:1d.7 0c03: 8086:2836 (rev 03)
00:1e.0 0604: 8086:2448 (rev f3)
00:1f.0 0601: 8086:2811 (rev 03)
00:1f.1 0101: 8086:2850 (rev 03)
00:1f.2 0106: 8086:2829 (rev 03)
01:00.0 0300: 10de:040c (rev a1)
02:06.0 0607: 1180:0476 (rev b9)
02:06.1 0607: 1180:0476 (rev b9)
02:06.2 0c00: 1180:0832 (rev 03)
02:06.3 0805: 1180:0822 (rev 20)
02:06.4 ffff: 1180:0843 (rev ff)
10:00.0 0280: 8086:4229 (rev 61)

so the driver should be iwlagn...
_________________
Always look on the bright side of live. badu badubadubado
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: Sat Dec 05, 2009 5:23 pm    Post subject: Reply with quote

strubbldesign wrote:
So does that mean to install both? Wireless-tools and wpa_supplicant?


Yes I mean this one.
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Mon Dec 07, 2009 7:52 am    Post subject: Reply with quote

may anyone can guide me?

my aim is to use wicd as networkmanager...

thank you

kind reguards
_________________
Always look on the bright side of live. badu badubadubado
Back to top
View user's profile Send private message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Mon Dec 07, 2009 8:30 am    Post subject: Reply with quote

strubbldesign wrote:
how can it be: https://forums.gentoo.org/viewtopic-t-805594.html that he has no configlines in /etc/conf.d/net


wpa_supplicant gets all it's information from wpa_supplicant.conf, so it needs no data in /etc/conf.d/net if you're using dhcpcd.

Does iwconfig work now? Does it show a wlan0?
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: Mon Dec 07, 2009 1:04 pm    Post subject: Reply with quote

I recommend that you use WICD inside your WM.

It will configure all the stuff for you.

But before doing this, you should double check that your wireless card is actually working :

Code:

# ifconfig -a
# iwconfig
# iwlist scan
# dmesg | tail
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Mon Dec 07, 2009 7:48 pm    Post subject: Reply with quote

ifconfig -a
Quote:
daxbau fysi # ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1a:4b:7e:d3:a8
inet addr:194.208.249.149 Bcast:194.208.249.255 Mask:255.255.255.0
inet6 addr: fe80::21a:4bff:fe7e:d3a8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:526758 errors:0 dropped:0 overruns:0 frame:0
TX packets:262281 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:760735017 (725.4 MiB) TX bytes:18317179 (17.4 MiB)
Memory:e8020000-e8040000

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:1d:e0:45:44:9b
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)

wmaster0 Link encap:UNSPEC HWaddr 00-1D-E0-45-44-9B-00-00-00-00-00-00-00-00-00-00
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)

daxbau fysi #


ifconfig
Quote:
daxbau fysi # ifconfig
eth0 Link encap:Ethernet HWaddr 00:1a:4b:7e:d3:a8
inet addr:194.208.249.149 Bcast:194.208.249.255 Mask:255.255.255.0
inet6 addr: fe80::21a:4bff:fe7e:d3a8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:552479 errors:0 dropped:0 overruns:0 frame:0
TX packets:275292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:798851130 (761.8 MiB) TX bytes:19122805 (18.2 MiB)
Memory:e8020000-e8040000

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)



iwlist scan
Quote:
daxbau fysi # iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

sit0 Interface doesn't support scanning.

wmaster0 Interface doesn't support scanning.

wlan0 Interface doesn't support scanning : Network is down

daxbau fysi #


dmesg | tail
Quote:
daxbau fysi # dmesg | tail
EXT3-fs: mounted filesystem with ordered data mode.
Adding 1959888k swap on /dev/sda5. Priority:-1 extents:1 across:1959888k
e1000e 0000:00:19.0: irq 1275 for MSI/MSI-X
e1000e 0000:00:19.0: irq 1275 for MSI/MSI-X
ADDRCONF(NETDEV_UP): eth0: link is not ready
0000:00:19.0: eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
0000:00:19.0: eth0: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
CE: hpet increasing min_delta_ns to 15000 nsec
daxbau fysi #


ifconfig wlan0 up
Quote:
daxbau fysi # ifconfig wlan0 up
SIOCSIFFLAGS: No such file or directory
daxbau fysi #

_________________
Always look on the bright side of live. badu badubadubado
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: Mon Dec 07, 2009 9:44 pm    Post subject: Reply with quote

Can you post this :

Code:

# ifconfig wlan0 up
# iwlist scan
# dmesg | tail
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Mon Dec 07, 2009 10:55 pm    Post subject: Reply with quote

as you can see i have addet your first command request ifconfig wlan0 up
iwlist scan
reports an error like cannot scan cause wlan0 ist not up

dmes ¦ tail ...

the card is internal in my laptop
i know its the iwlang driver (i used it bevore on this book)
_________________
Always look on the bright side of live. badu badubadubado
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2609

PostPosted: Tue Dec 08, 2009 2:49 am    Post subject: Reply with quote

Firstly, net.* should be removed from the default runlevel if you are going to use wicd. Secondly, what is the wireless chipset? Some chipsets require firmware to be installed as well. If you post the output of lspci, we can figure out if that is the problem.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
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: Tue Dec 08, 2009 2:58 am    Post subject: Reply with quote

You should post :

Code:

# lspci -n
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Tue Dec 08, 2009 3:24 am    Post subject: Reply with quote

i thin i know where the problem is...

the driver is compiled but not loaded correctly...

you know i allways have to chroot to the system to get access to the wlan 8)
_________________
Always look on the bright side of live. badu badubadubado
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2609

PostPosted: Tue Dec 08, 2009 3:28 am    Post subject: Reply with quote

Well please keep us posted on what you try and what you find out. We'll be here if you have any further questions. :)
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
strubbldesign
Guru
Guru


Joined: 16 Jan 2005
Posts: 354
Location: still somewhere in the matrix but once i was able to look out of it

PostPosted: Wed Dec 09, 2009 10:38 am    Post subject: Reply with quote

what i have done:

1st i went back to stable (~amd64) of
Quote:
#>sys-kernel/tuxonice-sources-2.6.31 ~amd64
#sys-kernel/linux-headers ~amd64
#x11-drivers/nvidia-drivers ~amd64
#app-admin/eselect-opengl ~amd64
#app-admin/eselect ~amd64


so i have now
Quote:
(chroot) livecd / # cat /proc/version
Linux version 2.6.30-gentoo-r5 (root@jasmin) (gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) ) #1 SMP Fri Oct 9 19:28:18 UTC 2009
running quite good...

allso all modules were compiled
Quote:
(chroot) livecd linux # make modules_install
INSTALL drivers/bluetooth/btsdio.ko
INSTALL drivers/bluetooth/hci_uart.ko
INSTALL drivers/bluetooth/hci_vhci.ko
INSTALL drivers/net/wireless/iwlwifi/iwlagn.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL drivers/video/backlight/corgi_bl.ko
INSTALL net/appletalk/appletalk.ko
INSTALL net/bluetooth/bluetooth.ko
INSTALL net/bluetooth/bnep/bnep.ko
INSTALL net/bluetooth/hidp/hidp.ko
INSTALL net/bluetooth/l2cap.ko
INSTALL net/bluetooth/rfcomm/rfcomm.ko
INSTALL net/bluetooth/sco.ko
DEPMOD 2.6.28-tuxonice-r10
(chroot) livecd linux #


And then my drifting has begun....

emerging and unemerging wireless-tools networkmanager wicd
adding things to runlevel... and removing...
editing wpa_supplicant.conf conf.d/net
Quote:
This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
#config_eth0=( "192.168.0.56 netmask 255.255.255.0 brd 192.168.1.255" )
#routes_eth0=( "default via 192.168.0.254" )
#dns_domain_lo="workgroup"
#config_eth0=( "dhcp" )
#config_wlan0=( "dhcp" )
#nameserver wlan0="208.67.222.222"
# dhcp_eth0="nodns nontp nonis"

#wpa_supplicant
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="iwlagn"
#wireless-tools
#modules=( "iwconfig" )
#wpa_supplicant_wlan0="iwlagn"


and wpa_supplicant.conf
Quote:

(chroot) livecd linux # more /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
ssid="KH-H2-2.2"
psk="XXXXXXXXXXXX"
priority=9
}


my first aim is that i can use wicd on my xfce4 (works wired-mode)
and my second aim is that wicd connects to available predefinied networks during boot prozess

thank you for your help
_________________
Always look on the bright side of live. badu badubadubado
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
Goto page 1, 2  Next
Page 1 of 2

 
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