Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-15-2012, 01:05 AM
|
#1
|
Member
Registered: Jul 2012
Location: USA
Distribution: Ubuntu 12.04 LTS, Kubuntu 12.04 LTS, Scientific Linux 6.3
Posts: 97
Rep: 
|
Need advice on how to manually configure a network connection
I am running Ubuntu 12.04, and I have removed the network manager to deal with a problem that I talked about in this thread: http://www.linuxquestions.org/questi...on-4175416299/
Indeed, removing the network manager seems to have solved the problem except that now I have a new problem. At boot, the system spends about two minutes "Waiting on network configuration" and then proceeds to boot without a network configuration.
My question is: How do I manually configure my network so as to remove this downtime at boot while the system is waiting for a configuration? And in general, are there any resources that describe how to manually configure a network? My "network" is quite simple at the present time. It's a dial-up ppp connection. The dial-up part works fine (I'm using it now). I just want the system to know that it should look to the dial-up connection for network access, and as I mentioned, I'd like to remove that wait time at boot.
By the way, my computer has both a wired ethernet adapter and a Wi-Fi adapter, but I am not using them at present.
|
|
|
07-15-2012, 02:58 AM
|
#2
|
Member
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 75
Rep:
|
Perhaps have a look in /etc/network/interfaces and comment out any sections that start with 'auto'?
|
|
|
07-15-2012, 10:50 AM
|
#3
|
Member
Registered: Jul 2012
Location: USA
Distribution: Ubuntu 12.04 LTS, Kubuntu 12.04 LTS, Scientific Linux 6.3
Posts: 97
Original Poster
Rep: 
|
Quote:
Originally Posted by nglbrkr
Perhaps have a look in /etc/network/interfaces and comment out any sections that start with 'auto'?
|
Thanks. I will do that. But I heard that there could be trouble booting Linux at all if I comment out the loopback section. Is that true?
This is on a laptop, and 75% of the time I'm not connected to any network at all so I don't really need it to bring the network up at boot.
|
|
|
07-15-2012, 06:08 PM
|
#4
|
Member
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 75
Rep:
|
No, don't comment out the loopback.
I wonder if your interfaces are timing out waiting for dhcp.
---------- Post added 07-15-12 at 11:09 PM ----------
No, don't comment out the loopback.
I wonder if your interfaces are timing out waiting for dhcp.
|
|
|
07-15-2012, 06:11 PM
|
#5
|
Member
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 75
Rep:
|
No, don't comment out the loopback.
I wonder if your interfaces are timing out waiting for dhcp.
|
|
|
07-15-2012, 08:52 PM
|
#6
|
Member
Registered: Jul 2012
Location: USA
Distribution: Ubuntu 12.04 LTS, Kubuntu 12.04 LTS, Scientific Linux 6.3
Posts: 97
Original Poster
Rep: 
|
Quote:
Originally Posted by nglbrkr
No, don't comment out the loopback.
I wonder if your interfaces are timing out waiting for dhcp.
|
Thanks, I will not comment out the loopback.
The more I research this, the more I am convinced that this is some Ubuntu craziness. Apparently, they have scripts to bring up the network and to configure network devices independent of the interfaces file. At least, that is what I believe at this point.
One of their scripts is called /etc/init/failsafe.conf which imposes a wait of up to 2 minutes when the system cannot get the network configuration immediately. I have eliminated that wait by editing that file and the system boots normally except for the fact that it boots without a network configuration.
|
|
|
All times are GMT -5. The time now is 03:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|