Re: command line wirelss config [was: How to speed up your Mac.]
ok, i need more help... has anyone successfully used ifup / ifdown /
wpa_supplicant method to access wireless network from the command
line??
my idea is to start icewm and connect to one of available networks,
without resorting to network-manager-kde...
On 12/5/07, Bin Zhang <yangtze31@gmail.com> wrote:
> On Dec 5, 2007 4:18 PM, P Kapat <kap4lin@gmail.com> wrote:
> > i think it is better to start a new thread...
> >
> > On 12/1/07, Bin Zhang <yangtze31@gmail.com> wrote:
> > > On Dec 1, 2007 5:15 PM, P Kapat <kap4lin@gmail.com> wrote:
> > > > How about the wireless? Is there any command
> > > > line version for NetworkManger? In Gnome, KDE we have either nm-applet
> > > > or network-manager-kde.... I have been playing around with iwconfig
> > > > and iwlist but didn't meet with any success.
> > >
> > > You can configure it in /etc/network/interfaces and use
> > > # ifup "interface_name"
> > > and
> > > # ifdown "interface_name"
> >
> > noting that I need to access WPA encrypted wireless networks, do I
> > need the wpa_supplicant after this? Some more details on the whole
> > process will be very much appreciated...
>
> You can Install package wpasupplicant and read
> /usr/share/doc/wpasupplicant/README.modes.gz and
> /usr/share/doc/wpasupplicant/examples/
Bin,
blame me for being thick, but i couldn't get my wireless working after
reading these help files.... need some more help...
i currently have the following in /etc/network/interfaces
##################
auto lo
iface lo inet loopback
allow-hotplug eth1 eth2
iface eth1 inet dhcp
# my wirelss interface is eth2; and what is this wpa-driver???
iface eth2 inet manual
wpa-driver wext
wpa-roam /etc/wpa_supplicant.conf
iface default inet dhcp
iface work inet dhcp
########################
and the following in /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="workssid"
id_str="work"
scan_ssid=1
key_mgmt=WPA-EAP
eap=PEAP
identity="username"
password="password"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
priority=1
}
network={
key_mgmt=NONE
}
################################
the network details are as required by the concerned network... having
created/modified these files, i rebooted. wpa_action eth2 reload
didnot help, the log file /var/log/wpa_action.log is prctically
useless.
ifconfig and iwconfig is able to identify the interface. iwlist
scanning is showing the available networks. now what???
--
Regards
PK
--------------------------------------
http://counter.li.org #402424
Reply to: