-
Thanks for the info I replaced the instruction to the end of rc.local script but still no changes. It only works when typed or pasted into the CL if run from any script the command
iwconfig wlan0 essid "MAESTRIA IT" key 12345ABCDE
does not work
also the settings in /etc/network/interfaces seam to be useless
-
Senior Member
registered user
@rslaqui Greetings, rslaqui.
Klaus2008 has given you several good answers already.
Perhaps an example will help.
Here's an excerpt of what I use, only my wifi is eth1.
This assumes you have /etc/rc.local owned by root, and executable.
#!/bin/bash
#
# rc.local
#
WIFI="wlan0"; MODE="Managed"
dhclient -r $WIFI; ifconfig $WIFI up
iwconfig $WIFI essid XXXXX key XXXXXXXXXX mode $MODE
dhclient $WIFI
#
exit 0
-
""""""""Solved""""""
Script still not working (previous post still not tested)
but /etc/network/interface
settings do
***********
allow-hotplug wlan0
iface wlan0 inet dhcp
pre-up ifconfig wlan0 up
post-down ifconfig wlan0 down
wireless-essid NetWork
wireless-key WepKey
***********
Thanks a lot hope this helps some else.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

Lot of 12 Non-Working Samsung Galaxy Tablets with BAD LCD for Parts
$381.38

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

Samsung Galaxy Tab A8 10.5" Tablet SM-X200 (Gray 32GB) Wifi CRACKED
$41.93

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2
$81.99

Samsung PM961 512GB PCIe Gen 3x4 NVMe 2280 M.2 SSD MZVLW512HMJP-000D1
$60.00

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4
$93.99

Samsung 8GB DDR5 5600MHz SODIMM Laptop RAM PC5-44800 CL46 M425R1GB4BB0-CWM
$99.99

Samsung Galaxy Tab A 10.1" Tablet SM-T517P (Gray 32GB) Sprint CRACKED
$37.65

Samsung Galaxy Tab S7 FE 5G SM-T738U 12.4" Tablet Gray 64GB T-Mobile CRACKED
$82.68