
Router Wireless Password
-
- Contributor
- Posts: 1955
- Joined: 09 Aug 2013, 14:25
- Distribution: Nemesis Cinnamon 64
- Location: USA
Router Wireless Password
I'm booting up in text mode. And the module at boot are just 000-kernel and 001-core for now and no GUI at the moment. My question is my laptop is wireless and it needs a password to the router but is there a command line that will just do that? I have the password to do it I just need a command line. I hope it can be done, 

I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
-
- Full of knowledge
- Posts: 428
- Joined: 02 Jan 2011, 18:41
- Distribution: Porteus v5.01.....PorteuX v1.4
- Location: In the bush now
Re: Router Wireless Password
When in the console run 'nmtui'.....works fine here.....assuming you're running Nemesis.
-
- Contributor
- Posts: 1955
- Joined: 09 Aug 2013, 14:25
- Distribution: Nemesis Cinnamon 64
- Location: USA
Re: Router Wireless Password
I'm not using Nemesis for this. I'm using Porteus 3.1 Mate.roadie wrote:When in the console run 'nmtui'.....works fine here.....assuming you're running Nemesis.
I did find this. http://unix.stackexchange.com/questions ... mmand-line and it is option 2 that's what I try. Here is the output.
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# ifconfig wlan0 up
root@porteus:/home/guest# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: E8:ED:05:40:73:70
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=39/70 Signal level=-71 dBm
Encryption key:on
ESSID:"Carpenter"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=00000272ec532469
Extra: Last beacon: 6ms ago
IE: Unknown: 000943617270656E746572
IE: Unknown: 010882848B961224486C
IE: Unknown: 03010B
IE: Unknown: 2A0100
IE: Unknown: 32040C183060
IE: Unknown: 2D1AEE1117FFFFFF0001000000000000000000000000001846471100
IE: Unknown: 3D160B030700000000000000000000000000000000000000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: 0B0503000E127A
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: Unknown: DD07000C4303000000
IE: Unknown: 0706555320010B10
IE: Unknown: DDA60050F204104A0001101044000102103B00010310470010327FD2001DD211B286015753435F55551021001A43656C656E6F20436F6D6D756E69636174696F6E2C20496E632E1023001743656C656E6F20576972656C65737320415020322E344710240006434C313830301042000831323334353637381054000800060050F20400011011000B43454C454E4F415032344710080002210C103C0001011049000600372A000120
root@porteus:/home/guest# iwconfig wlan0 essid Wifi2Home key s:TG***********
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; Operation already in progress. <------ Password all ready there cause running in GUI
root@porteus:/home/guest# dhclient wlan0
bash: dhclient: command not found <------- What's up with this?
root@porteus:/home/guest# ifconfig wlan0 down
root@porteus:/home/guest#
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
-
- Full of knowledge
- Posts: 428
- Joined: 02 Jan 2011, 18:41
- Distribution: Porteus v5.01.....PorteuX v1.4
- Location: In the bush now
Re: Router Wireless Password
I haven't used iwconfig, so no help there.....I have used wpa_passphrase and then wpa_supplicant and connected without problems.
I usually do this: wpa_passphrase [SSID] [password] >/etc/wireless.conf
then
wpa_supplicant -B -iwlan0 -c/etc/wireless.conf.....followed by: dhcpcd wlan0
Works for me.
I usually do this: wpa_passphrase [SSID] [password] >/etc/wireless.conf
then
wpa_supplicant -B -iwlan0 -c/etc/wireless.conf.....followed by: dhcpcd wlan0
Works for me.