LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2009, 01:16 PM   #1
jackanory
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Rep: Reputation: 0
Exclamation No Internet connection on boot-up!


Hi everyone! This is my first post, so please go easy on me if you think I'm in the wrong place.........

The trouble is simply this - my internet connection is no longer automatic when I start the machine. It used to run at boot-up, and now I have to physically connect from the desktop using "Wireless Assistant". Do I have to edit a file such as "Grub"? or what? Any help would be appreciated....
 
Old 03-29-2009, 01:34 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Welcome to LQ!
What distribution do you use? Are you trying to set up wired or wireless connection?
If you're trying to set up wireless connection,is wired connection working?
 
Old 03-29-2009, 02:15 PM   #3
jackanory
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Smile Greetings

Hi, thanks for taking an interest. I hope you can help? Okay, Kubuntu 8.04 Hardy, and using KDE 3 desktop. I have a wireless setup, and it's been working for years under Linux and windows. There's no problem with the connection, just that I have to manually connect to the internet now, rather than before, when I was connected at boot???!
 
Old 03-29-2009, 02:32 PM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Post the output of
Code:
sudo gedit /etc/network/interfaces
from the Konsole.
Do you have ethernet cable plugged in?

EDIT:Sorry,don't use that command,just post the output from that file.

Last edited by alan_ri; 03-29-2009 at 02:44 PM.
 
Old 03-29-2009, 02:49 PM   #5
jackanory
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Here ya go!!!!..........................

auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0








address 192.168.1.67
netmask 255.255.255.0
gateway 192.168.1.254




iface wlan0 inet static
address 192.168.1.65
netmask 255.255.255.0
gateway 192.168.1.254
wireless-essid BTHomeHub-7861
wireless-key s:**********

auto wlan0

Last edited by jackanory; 03-29-2009 at 02:57 PM.
 
Old 03-29-2009, 03:00 PM   #6
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Make it look like this;
Code:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

auto wlan0
iface wlan0 inet static
address 192.168.1.65
netmask 255.255.255.0
gateway 192.168.1.254
wireless-key s:**********
wireless-essid BTHomeHub-7861
You'll need to open that file with root privileges and save it.Then reboot machine and post if it's working.
You can use;
Code:
sudo kedit /etc/network/interfaces
to open that file as super user.Enter your password when asked and press <Enter>.

Last edited by alan_ri; 03-29-2009 at 03:07 PM.
 
Old 03-29-2009, 03:35 PM   #7
jackanory
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks Alan, that looked like it had worked but sadly, no. The difference is I appear to be connected to the Wlan, since the indicator bars on the taskbar are showing now, but I am still not connected to the internet until I run Wireless Assistant manually??????

Also, I don't know why, but it takes a long long time to boot up, and during boot-up I get the following message:

* Mounting local filesystems
Mount: No medium found [Fail]

I think I've seen this before, so I don't think it's anything to do with the edited file, but hey.......what do I know??
 
Old 03-29-2009, 04:27 PM   #8
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
No,that file has nothing to do with mounting local file systems.

As a simple solution (I believe) please go here and read how to install wicd in Ubuntu/Kubuntu.When you install wicd,reboot.Maybe you'll need to enter your key for the wireless network.Things should work then and wicd will be loaded on boot.
I am using wicd and I suggest that you try it.
 
Old 03-29-2009, 07:36 PM   #9
jackanory
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks alan, would you believe that in my frustration, I actually un-installed the wireless assistant, before I realised that it was the only thing that was connecting me!!! Anyway, I managed to get access from my XP laptop, and ended up having to copy loads of files one by one from laptop to desktop, then I could only run the assistant from the Konsole, but at least it gave me a connection in the end, and I followed your link for wicd etc, etc. To be honest, after all that I don't really care if it connects me automatically now or not as long as I've got a connection! Now I can concentrate on all the other problems!! Great fun!!! Thanks again for your help ;-)
 
Old 03-30-2009, 04:16 PM   #10
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
I suggested wicd because I was short with time back then and I couldn't go deeper into your problem.Wicd should work on your system,but now I don't know if you have it installed or not.
Anyway,if it's OK for you...
 
Old 03-30-2009, 04:45 PM   #11
jackanory
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks mate! I managed to get wicd, and got it working after a few tweaks and re-boots, and you'll be glad to hear that it is now working from boot and all's well on that score. The reason I am only getting back to you now is that I had further complications added today, when I received my new HomeHub router and had to re-do everything. Still, all's well that ends well, and although I had to change software, I am grateful for your assistance. I do believe that all my problems were caused by Firefox 3, which really has screwed up my system. I've had to revert to FF2 now, and It's acting odd too! I also use Thunderbird, and it has gone looney tunes as well. But those are problems for another forum I think.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection lost on dual boot pt123 Linux - Networking 3 08-25-2006 09:48 PM
XP dual boot with xandros lost internet connection! randell6564 Linux - Wireless Networking 3 08-17-2006 06:12 AM
internet connection not starting at boot paul62 Debian 2 11-25-2005 01:13 AM
[NEWBIE]no internet connection after boot gaco Linux - Networking 4 06-23-2004 04:14 AM
establishing internet connection after boot true_atlantis Linux - Newbie 4 04-21-2004 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration