Wifi static IP problem - Raspberry Pi Forums
i using usb wifi adapter , trying setup static ip pi can access through ssh. have android phone acting router (using wifi hotspot).
os: raspbian
now, had messed wpa_supplicant.conf file , wasnt readable root, renamed wpa.conf
updated network interface file error. not able understand whats problem. please me out. thanks
os: raspbian
now, had messed wpa_supplicant.conf file , wasnt readable root, renamed wpa.conf
updated network interface file
code: select all
auto lo iface lo inet loopback iface eth0 inet dhcp #wlan settings auto wlan0 #allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa.conf iface wlan0 inet static address 192.168.43.123 #static ip netmask 255.255.255.0 gateway 192.168.43.1 #gateway address broadcast 192.168.43.255 #broadcast address
code: select all
pi@raspberrypi ~ $ sudo /etc/init.d/networking restart [warn] running /etc/init.d/networking restart deprecated because may not re-enable interfaces ... (warning). [....] reconfiguring network interfaces...wpa_supplicant: wpa_action managing ifup/ifdown state of wlan0 wpa_supplicant: execute `ifdown --force wlan0' stop wpa_action run-parts: /etc/network/if-pre-up.d/wpasupplicant exited return code 1 run-parts: /etc/network/if-up.d/wpasupplicant exited return code 1 wpa_supplicant: wpa_action managing ifup/ifdown state of wlan0 wpa_supplicant: execute `ifdown --force wlan0' stop wpa_action run-parts: /etc/network/if-pre-up.d/wpasupplicant exited return code 1 not enough information: "dev" argument required. failed bring wlan0. done.
raspberrypi
Comments
Post a Comment