Connect to Wifi from Command Line only
location: ubuntuforums.com - date: January 13, 2011
I want to connect to my wifi from command line (not the one you enter from ALT+CTRL+F1, BUT the one you enter from Recovery Mode).
When I go to Recovery Mode --> Switch to room command line with networking
I use ethernet (eth0) I have no problems. And even if I plug the ethernet wire AFTER the login and then I run "sudo dhclient" I get the internet connection.
I want to connect to my wireless network it doesn't work.
I have tried with this (and many other) syntax:
sudo iwconfig wlan0 mode managed channel 6 key open <yourwepkeyhereifany> essid MyNet
sudo iwconfig wlan0 ap AA:BB:CCD:EE:22
sudo dhclient wlan0
I get something like this (I cope/pasted the result from another website. But the result it's this one)
Listening on LPF/eth0/00:20:e0:5e:2d:73
Sending on LPF/eth0/00:20:e0:5e:2d:73
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 int
how to connect to wifi from command line?
location: ubuntuforums.com - date: September 21, 2009
I'd like my laptop to connect to any wireless available network before I log in, but I'm not quite sure how to achieve this.
Why would I do this, you ask? I'm modifying a script someone else wrote to phone home every time the laptop is turned on, even if the person in possession of the laptop (aka thief) can't log in. It's not a great anti-theft system, I know, but I just had a laptop stolen, and I'm kicking myself for not having taken more measures to protect my machine and my data. Plus, I'm a geek and this kind of thing gives me satisfaction.
I've read that I should be able to connect to any unencrypted wifi connection by issuing these commands from the command line, but I've had no success. The first command gives no output, and the second eventually times out (No DHCPOFFERS received).
iwconfig <interface> essid any
I've added my shell script to /etc/rc.local, but to test things out, I'm logging into the shell instead o
How to run/execute an adobe AIR file on Linux (ec2/ubuntu) from command line only (no gui)
location: linuxexchange.com - date: January 1, 1970
Im trying to execute a .AIR file on a linux box (ubuntu) from the command line, and disregard the GUI.
Here's the thing. About 6mo I was able to do this, but I forgot how I did it, and I'm left to figure out how it was done by looking at clues on the server.
I see the MainSimple.air file that I had originally used.
I see that I somehow installed it into /opt/MainSimple/bin/MainSimple (which is now a binary file, not an air)
I see my script file to run that file, and it successfully executes.
--- runAir.sh ---
So my question is, now that I have a new/different air file... how do I get it to "install" or change/compile into a binary file like I did before?
I know an .air file is just a zip file.. I unzipped it, and theirs no /bin directory in it.
Can't connect to WiFi via command line (iwconfig/ifconfig)
location: ubuntuforums.com - date: July 4, 2011
I'm unable to connect to my unsecured wireless network (or any wireless network) on my laptop, though Network Manager connects fine. (Also, my phone and other computers have no problem connecting.) I've googled this extensively and have found no answers.
Computer: Toshiba NB505 netbook, running a fresh install of Ubuntu 11.04
$ lspci | grep Network
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
Initial settings on startup (before logging into Gnome and having Network Manager start)
$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 7c:4f:b5:73:b4:be
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
$ iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:off/any
How to connect to network from command line
location: linuxquestions.com - date: December 7, 2011
In ubuntu top panel, on the right side, there is an indicator showing network status. I click on that and choose the network option (which has ip address, gateway etc) and it connects.
Can I do the same thing from command line?
Thanks for your help.
Wifi key setup from command line fedora 9
location: linuxquestions.com - date: June 9, 2008
I have a fedora (live) which I would like to login to my wireless network upon bootup.
My wifi network is WPA-TKIP protected. What command would I use to make fedora login to the wifi network using my key?
A script to help Linux users connect to Wifi from command prompt
location: linuxquestions.com - date: April 7, 2010
Here is a tool to connect to a wireless network in Linux from the command line.
I'm sorry, but it doesn't support locked networks. I may add that in a later version, or of course you can.
EDIT: here's a tarball with a version that DOES support locked networks:
Hope someone finds this useful. Looks like it can only list available networks when you are already connected to one. Crap. Oh, well.
Originally posted in my forum.
Using nvidiasettings from the command line only
location: linuxquestions.com - date: June 7, 2008
I'm pretty sure this problem must have come up before, but I am really struggling to find a solution.
Basically, I know I can use nvidia-settings to:
1. Enable Twinview on my external monitor
2. Disable my laptop display panel
3. Apply settings
This as you may have guessed is for when I dock my laptop.
The infuriating thing is that I can not find out how to do this from the command line so that it can be scripted and thus automated using ACPI events.
After quite a bit of digging, I have come to the conclusion that all that is really happening is that nvidia-settings is actually using xrandr to create the illusion of the other panel being disabled.
So what I'm I'm looking for is either a way to run nvidia-settings at the command line or tips on how to use xrandr to do whatever it is that nvidia-settings does with it.
Can only install downloaded packages from command line
location: ubuntuforums.com - date: April 3, 2014
Bit of an odd one this. Since an update last week I have only been able to install third party packages via dpkg using the command line. If I attempt to install anything other than from the repos via software centre or app grid the install fails but offers no error. Just simply informs me that it failed. No errors or warnings via apt-get or dpkg. Does anyone have any ideas what the issue could be?
Enable and connect mobile broadband from command line script?
location: ubuntuforums.com - date: July 27, 2010
I have a Sony TZ270N running Ubuntu 10.04 splendidly. The Sprint Mobile Broadband works great, but it's a bit cumbersome to activate. Specifically, to get it to work I need to:
echo 0 > /sys/devices/platform/sony-laptop/wwanpower
echo 1 > /sys/devices/platform/sony-laptop/wwanpower
Then I wait another five seconds, right-click on the networking icon, choose "Enable mobile broadband", then left-click on the networking icon, and choose "Connect to Sprint Connection". I do this multiple times a day, and it's just a bit of a pain, especially when in a hurry. Accordingly, I'd like to script it so I can do the whole thing with a single command.
I've already put the above echo statements into a script and it works great; is there any way to script the actual start of the PPP session itself -- with the caveat that I'd like the networking icon to accurately reflect the latest state?
(In other words, I don't want to bypass the networking icon a
Page: 1 2 3 4 5 6 7 8 9 10