LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu Networking quirk (http://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-networking-quirk-718078/)

RyanHall85 04-09-2009 06:51 PM

Ubuntu Networking quirk
 
I'm running Linux Ubuntu, and when I start up my system, there is no internet connection. I have to right click up top where it show my connection (or lack there of), edit settings, then un-check the "system setting" box. Then the connection connects immediately. What would cause this, and how can I un-check that box permanently?

tredegar 04-10-2009 04:35 AM

Quote:

there is no internet connection.
- Wireless, or wired ?
- Which version of ubuntu ?
- Please post the contents of the file /etc/network/interfaces

RyanHall85 04-12-2009 03:34 PM

Wireless using Linksys WUSB54GS
Ubuntu 8.10

auto lo
iface lo inet loopback

tredegar 04-13-2009 03:08 AM

Are you using wireless encryption? This assumes you are not:

Type ifconfig in a terminal to find the name of your wireless interface.
Suppose it is wlan0

Make the interfaces file look like this:

Code:

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp

Then reboot or do sudo /etc/init.d/networking restart

RyanHall85 04-13-2009 12:04 PM

encryption
 
I'
m using a 10 hex digit key. Will this change what you entered above?

tredegar 04-13-2009 12:56 PM

Quote:

m using a 10 hex digit key. Will this change what you entered above?
Of course.
Are you using WEP WPA or WHAT ?

I'm using WPA.
Here's my interfaces file:

Code:

auto lo
iface lo inet loopback

# My wireless interface ( which is called eth1 )follows
auto eth1
iface eth1 inet dhcp
# Note my passphrase in the next line has no "funny" characters or spaces
wpa-passphrase MyPassPhrase
wpa-ssid TredsNetgear

Make yours look similar
Then try sudo /etc/init.d/networking restart

RyanHall85 04-13-2009 08:37 PM

WEP
 
Yeah I'm using WEP 10 hex digit

tredegar 04-14-2009 01:01 PM

Quote:

Yeah I'm using WEP 10 hex digit
You might as well not bother with "encryption" then - search the web for "Crack WEP"
Switch to WPA.

RyanHall85 04-17-2009 08:47 PM

OK wellc an you tell me how it would look if it is wep? Is it the same as what you had posted above except wep instead of wpa?


All times are GMT -5. The time now is 01:00 PM.