MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
if you are using WEP encryption, you have the option of using 4 different keys they will probably be listed as " key 1, key 2, key 3, key 4" and, so make sure the router is using Key 1 to accept the encryption, as linux will only allow(as far as I know) to use the first key.
Actually. I recently had problems using "ifup" and noticed that at some point someone had changed the method for calling "ifup-wireless" in the "ifup" script. After an install of Mandriva 2006 line #133 of "ifup" has the following:
exec ${OTHERSCRIPT} ${CONFIG} ${boot}
From the shell help:
exec: exec [-cl] [-a name] file [redirection ...]
Exec FILE, replacing this shell with the specified program.
If FILE is not specified, the redirections take effect in this
shell. If the first argument is `-l', then place a dash in the
zeroth arg passed to FILE, as login does. If the `-c' option
is supplied, FILE is executed with a null environment. The `-a'
option means to make set argv[0] of the executed process to NAME.
If the file cannot be executed and the shell is not interactive,
then the shell exits, unless the shell option `execfail' is set.
So basically anything set in the file that is exec'd doesn't stay set when the exec comes back unless it's exported (I think).
I changed line #133 to:
. ${OTHERSCRIPT} ${CONFIG} ${boot}
Again reading the shell help:
.: . filename [arguments]
Read and execute commands from FILENAME and return. The pathnames
in $PATH are used to find the directory containing FILENAME. If any
ARGUMENTS are supplied, they become the positional parameters when
FILENAME is executed.
This is the same as using the "source" shell command which is used in other places in the "ifup" script. Also this method is similar to what it used to be in Mandrake 2005LE.
For me everything started working again.
Hope this helps with running "ifup" from the commandline.
Also as a note. I usually pays to set the encryption key prior to setting the ESSID as some APs don't allow you to see them without the key installed.
It says: Determining IP information for wlan0 ... failed.
Welcome to the board
Well this is going nowhere: no information from you
You need to give as much info as possible, equipment, commands you used etc,
look in other posts for example
my 2cents if you are new to linux you need to read rute or newbie admin guide
(see LQ bookmarks)
Hi, and thanks for the suggestions. I have been tying this morning and here's what I get.
I was wondering if the card was installed at all (I used NdisWrapper).
So, here is what I get when I type
****************************
iwlist scan
wlan0 Scan completed :
Cell 01 - Address: 00:12:44:B8:9B:90
ESSID:"uio"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.472 GHz (Channel 13)
Quality:0/100 Signal level:-77 dBm Noise level:-256 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Extra:bcn_int=100
Extra:atim=0
(Unknown Wireless Token 0x8C05)***********************************
Here is the output of iwconfig:
*****************************
wlan0 IEEE 802.11b ESSIDff/any Nickname:"at_home"
Mode:Auto Frequency:2.412 GHz Access Point: 00:00:00:00:00:00
Bit Rate=11 Mb/s Tx-Power:20 dBm Sensitivity=0/3
RTS thr=2432 B Fragment thr=2432 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-95 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
****************************
I don't know why it does not take into account the settings which I introduced from the graphical tool (Mandriva Control Center) which correspond to the network ones.
In /etc/sysconfig/network-scripts/wireless.d/
I have got two files whose content I list below.
[root@at_home wireless.d]# ls
00:12:44:b8:9b:90* uio*
[root@at_home wireless.d]# more 00\:12\:44\:b8\:9b\:90
BOOTPROTO=dhcp
WIRELESS_MODE=Managed
WIRELESS_ESSID=uio
WIRELESS_WPA_DRIVER=ndiswrapper
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
Quote:
non pop up messages, but no result either
Start a terminal as root and look for clues
tail -f /var/log/syslog
then in another terminal modprobe ndiswrapper and
for example as root
service network restart
Quote:
(Unknown Wireless Token 0x8C05
Have you googled for this?
I can help only a bit (time restriction) so you need a good
dose of research, self-help and homework, or somebody else help.
You are definetely in the right direction
Emmanuel_uk, thanks. Here is what I get in a syslog. Weird - I have configured wlan0, yet it seems to be looking for eth0. I have a ifcfg-eth0 file (I am not using my ethernet card), so shall I simply remove it and configure the wireless card as eth0. Actually this is what Glen suggested above, in the posting...
[root@at_home niki]# tail -f /var/log/syslog
Oct 18 11:10:04 at_home dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
Oct 18 11:10:28 at_home last message repeated 2 times
Oct 18 11:10:28 at_home drakroam[5415]: ### Program is exiting ###
Oct 18 11:10:40 at_home dhclient: No DHCPOFFERS received.
Oct 18 11:10:40 at_home ifplugd(eth0)[5468]: client: Determining IP information for eth0... failed.
Oct 18 11:10:40 at_home ifplugd(eth0)[5468]: Program execution failed, return value is 1.
Oct 18 11:10:40 at_home ifplugd(eth0)[5468]: Exiting.
Oct 18 11:10:50 at_home net_applet[4239]: running: /sbin/iwgetid -r wlan0
Oct 18 11:10:50 at_home net_applet[4239]: running: /sbin/iwgetid -r -a wlan0
Oct 18 11:10:50 at_home net_applet[4239]: running: /sbin/iwlist wlan0 scanning
Oct 18 11:11:50 at_home net_applet[4239]: running: /sbin/iwgetid -r wlan0
Oct 18 11:11:50 at_home net_applet[4239]: running: /sbin/iwgetid -r -a wlan0
Oct 18 11:11:50 at_home net_applet[4239]: running: /sbin/iwlist wlan0 scanning
Oct 18 11:12:50 at_home net_applet[4239]: running: /sbin/iwgetid -r wlan0
Oct 18 11:12:50 at_home net_applet[4239]: running: /sbin/iwgetid -r -a wlan0
Oct 18 11:12:50 at_home net_applet[4239]: running: /sbin/iwlist wlan0 scanning
Shutting down interface eth0 : ok
Shutting down interface wlan0 : ok
Setting network parameters : ok
bringing up interface sit0 : ok
bringing up interface wlan0 : ok
everything seems fine? Actually during startup, eth0 is disabled. I wonder why it is shutting it down here. Any clue??
I'll do so. I'll even try to configure the card with a different driver - the one suggested by sourceforge. Yet, dsmeg says ndiswrapper is working properly, so is wlan0. Well, I proceed to the "from scratch approach".
Glen, I cannot disable the Firewire, or probably, after disablibg eth0, the built-in network card appears as eth1? Is there a way to disable all of them on boot. I have a Mandriva and there is not such a thing like interfaces file. There are ifcfg-eth* ifcfg-wlan* etc. What shall I do?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.