Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kautech

Pages: [1]
1
So, after a few tweaks, I got the computer to automatically connect to the hidden wireless network ...

Since the computers are pretty much stationary, I found a simple shell script to automatically connect to the hidden network on startup. Here's how (let me know if I should have put the .sh file somewhere else?) props to http://blog.nixpanic.net/2011/01/connect-automatically-and-immediately.html


1. Here's the .sh copy and paste and save as /bin/MyWifi.sh

#!/bin/sh
#
# Automatically try to connect to 'MyWiFi' when WiFi is enabled
#

# the output of nmcli should be in English
LC_ALL=C

# loop for a while until NetworkManager is accepting commands
while [ "$(nmcli -t -f WIFI,STATE nm)" = 'enabled:disconnected' ]
do
 nmcli con up id MyWiFi
 sleep 5
done

exit 0
#end of script you don't need this but you do need that last line (exit 0)



2. To make the script executable you have to open terminal (Ctrl+alt+t), then

sudo chmod +x /bin/MyWifi.sh

3. next let's open gnome-session-properties from the same terminal

sudo gnome-session-properties

4. In the Startup Applications Preferences window, click Add. You can name it what you want and add any comment. for "command" enter /bin/bash /bin/MyWifi.sh

5. Click Save, then close Startup Applications Preferences

6. type sudo reboot and watch as your computer now automatically connects to the hidden wifi

Note: I tried sudo nmcli con up id HiddenSSID replacing HiddenSSID with the actual SSID, and got that to work from the terminal after login, but could not get that to execute on startup

-bm



2
How-to / Re: Edit Favorites Menu
« on: June 20, 2013, 02:45:58 PM »
 8)

... it appears you can edit the %gconf.xml files in each of the application-* directories at

~/.gconf/desktop/unity/launcher/favorites

my favorite way to do that in terminal (Ctrl+alt+t) is to cd to the directory, then

sudo nano -w %gconf.xml

... make any changes you need to like the item title etc, save (Ctrl+x ... Y) and reboot

-bm

3
How-to / Re: Edit Favorites Menu
« on: June 19, 2013, 03:06:56 PM »
no "favorites" option in alacarte, either ...

4
How-to / Re: Edit Favorites Menu
« on: June 19, 2013, 02:50:25 PM »
 ... couldn't find anything useful in gconf-editor either ...

5
Install was smooth ... no problems to report thus far.


6
Aloha Kakou

I installed ubermix-key1.081.img from a flash drive onto a Dell Latitude 2100 and initially had some issues getting the correct driver installed for the captioned wireless card (14e4:4315)

If you run into issues with the Broadcom hardware, here's the solution

-Open a terminal (ctrl+alt+t)
-Type sudo apt-get install firmware-b43-lpphy-installer
-Type sudo modprobe -r b43
-Type sudo modprobe b43

Don't forget to enable the hardware switch (FN+F6) in my case. No reboot necessary. Not sure if you need to "sudo apt-get purge bcmwl-kernel-source" or similar, but it's working for now.

The issue I am having is getting the computer to automatically connect to a hidden network here on campus. For now I need to manually "connect to a hidden wireless network." Is there a way to do this, for example, using gnome-session-properties?

I hope to deploy 2 dozen of these machines to our summer school classes mainly for web-based programs, and for feedback. My goal is to reimage the remaining 20 for use with GAFE next year.

With ubermix, the deployment image is less than 4GB, whereas the WindowsXP image was almost 15GB

Mahalo

Bob Martin
Naalehu, HI

Pages: [1]