[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lenny. How to start WiFi networking from console?



This works... for me... on my hp dv7-1135nr

But keep reading after spanish to understand problems
that arised when you get wifi working...

-------- Original Message --------
Subject: Vivir sin NetworkManager
Resent-Date: Sat, 28 Feb 2009 11:32:41 +0000 (UTC)
Resent-From: debian-user-spanish@lists.debian.org
Date: Sat, 28 Feb 2009 12:32:08 +0100
From: Manuel Jiménez Friaza <mjfriaza@gmail.com>
To: debian-user-spanish@lists.debian.org

Hola a todos:
Por si a alguno le da problemas el Network Manager, o se ha cansado de
ver el globito con la buena nueva ("ooops, estamos conectados"), os
recuerdo que una tarjeta inalámbrica se puede levantar en debian con la
simple ayuda del wpa_supplicant y una mínima modificación en
/etc/network/interfaces. Se levanta en el arranque, de forma
transparente y segura. NetworkManager no se inmiscuye cuando en
/etc/network/interfaces aparece auto wlan0

/etc/network/interfaces

auto lo
iface lo inet loopback

iface eth0 inet dhcp

iface wlan0 inet dhcp
auto wlan0

wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf

/etc/wpa_supplicant.conf

ap_scan=1
#eapol_version=2
fast_reauth=1

network={
         ssid="SSID"
         scan_ssid=1
         key_mgmt=WPA-PSK
         psk="xxxxx"
        }
Por redundancia,  se puede copiar este mismo fichero dentro de
/etc/wpa_supplicant con el nombre de wpa_psk.conf
Y ya está.

--------------------------------------------

But when all its done some problems arised...

I installed the wpasupplicant package to configure my wireless network card following the instructions on Debian Lenny release notes in the sections "Issues".

One of this steps consist of installing the kernel 2.6.28-1-amd64 as you can read here:

http://wiki.debian.org/iwlagn

But now I need to compile NVIDIA kernel module and need the linux headers.

Then I got the same problem you mention here:

http://www.mail-archive.com/debian-kernel@lists.debian.org/msg42518.html

And figure out the dependency of kbuild, a virtual (phantom) package stated as unavailable here:

http://packages.debian.org/unstable/linux-headers-2.6.28-1-amd64

Regards.


Ji ZhengYu wrote:
On Fri, Feb 27, 2009 at 9:41 AM, Mark Goldshtein
<mark.goldshtein@gmail.com> wrote:
Debian 5 Stable.
System installed from KDE CD ISO. Graphic logon screen is stopeed by

# sysv-rc-conf kdm off

So the system initially boot into plain text console.
WiFi interface is eth1. According to # ifconfig it is up after boot.

# iwconfig eth1 ESSID [essid name] key s:[WPAkey] mode Managed

is working, eth1 connect with ESSID, but there is no IP assigned
according to # ifconfig and no Access Point visible in # iwconfig
output. So, next I am trying to obtain the IP manually:

$ dhclient eth1 -s 192.168.1.1

But no success. After few medium-long tryings (DHCPDISCOVER?) it is
falling to sleep.
Under KDE with KNetworkManager everything works fine, I just need to
provide a pass to open a KWallet.

Please, how to establish a connection manually right in text console?


First you need a package named `wpasupplicant'
then do something like this link[1]

[1] http://wiki.debian.org/WPA



--
----------------------------------------------------------------------
   "You don't know where your shadow will fall",
        Somebody.-
----------------------------------------------------------------------
 Ing. Olaf Reitmaier Veracierta <olafrv@gmail.com>
----------------------------------------------------------------------
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
----------------------------------------------------------------------


Reply to: