Help!

Lenny. How to start WiFi networking from console?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Laptop RSS
Next:  Bug#517339: wireshark hangs if I try to choose in..  
Author Message
Mark Goldshtein
External


Since: Feb 27, 2009
Posts: 2



PostPosted: Thu Feb 26, 2009 10:10 pm    Post subject: Lenny. How to start WiFi networking from console?
Archived from groups: linux>debian>laptop (more info?)

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?

--
ó õ×ÁÖÅÎÉÅÍ,
íÁÒË çÏÌØÄÛÔÅÊÎ

Sincerely Yours'
Mark Goldshtein


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Ji ZhengYu
External


Since: Feb 27, 2009
Posts: 1



PostPosted: Fri Feb 27, 2009 3:10 am    Post subject: Re: Lenny. How to start WiFi networking from console? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, Feb 27, 2009 at 9:41 AM, Mark Goldshtein
<mark.goldshtein.DeleteThis@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


--
Regards,

G


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Olaf Reitmaier Veracierta
External


Since: Mar 01, 2009
Posts: 1



PostPosted: Sun Mar 01, 2009 2:10 am    Post subject: Re: Lenny. How to start WiFi networking from console? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.RemoveThis@lists.debian.org
Date: Sat, 28 Feb 2009 12:32:08 +0100
From: Manuel Jiménez Friaza <mjfriaza.RemoveThis@gmail.com>
To: debian-user-spanish.RemoveThis@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.RemoveThis@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.RemoveThis@gmail.com>
----------------------------------------------------------------------
http://olafrv.googlepages.com (Personal Webpage)
http://olafrv.blogspot.com (Technical Blog)
----------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Laptop All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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