Configuring WiFi Module via SSH
#2
hi I'm going to try to help you.  

First, you'll want to setup your wifi with the serial console rather than over ssh.   ssh may not work well because the eth0 is active ;  so get yourself a serial TTL usb bridge cable ( either pl2303 based, or cp2102 based ) and logon via serial console.

These are the wifi direct commands you will need to manage the wifi connection without network manager:

ip  link  set  wlan0  up

ip  link  show  wlan0

iw  dev  wlan0  scan | less

iw  dev  wlan0  link

wpa_supplicant  -D  nl80211  -i  wlan0  -c  <(wpa_passphrase  "ssid here"  "passphrase"  ) &

dhcpcd wlan0

ok...   having said that, and yes the wifi can be brought up manually using the above over serial console, the best is to use the network manager to bring up the link automatically... you setup the options for 'ALL' users and automatic connect.... then when you bootup headless the wifi link will connect on its own.

But, in the first place, make sure that your wifi setup is even working with the above manual commands... see what's happening, and make sure that your wifi card works.

Also, if you have mac address filtering 'ON' in your modem router make sure you have included the wifi card mac address in the list of filtered addys.



Also,

... in the /etc/network/interfaces

setup eth0 and wlan1 as manual  ,  so that network manager doesn't try to manage them:

iface eth0 inet manual
iface wlan1 inet manual

and in /etc/udev/rules.d

make sure that wlan0 is named correctly with its correct mac addy in :

70-persistent-net.rules

-
hope that helps
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply


Messages In This Thread
Configuring WiFi Module via SSH - by Chadilac - 11-11-2016, 01:23 PM
RE: Configuring WiFi Module via SSH - by MarkHaysHarris777 - 11-11-2016, 04:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  zwave module not available eric 4 9,093 11-04-2016, 10:24 PM
Last Post: stubbs

Forum Jump:


Users browsing this thread: 1 Guest(s)