Skip to content

Instantly share code, notes, and snippets.

@lionelyoung
Created December 26, 2010 01:48
Show Gist options
  • Save lionelyoung/755145 to your computer and use it in GitHub Desktop.
Save lionelyoung/755145 to your computer and use it in GitHub Desktop.
Connecting to PDANet WiFi HotSpot with Linux
ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 essid <ESSID>
iwconfig wlan0 key <TENDIGITPASSWORD>
ifconfig wlan0 up
dhclient wlan0
@shakthepro
Copy link

@TamaniPhiri Do you know how to get the internet to work for the terminal? Firefox works great and like that. But i cant download or do sudo apt update for example in terminal. It continues to say that it cant fetch that downloads. I think there is something in the settings or maybe the proxy is interfering with the downloads from terminal. Any help?

@Scruq445
Copy link

@shakthepro Just use the https_proxy and http_proxy environment variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment