Re: no network connection
Ed Sutter wrote:
> My goal is to have the debian-based system start up with Ethernet
> enabled immediately (I would have thought that would be the standard
> way it would boot up). I don't want to have to log into my console
> and click something to start up Ethernet.
You shouldn't have to. It's just a matter of getting the contents of
/etc/network/interfaces correct. I'm not familiar with Gnome's network-manager,
but if you post the contents of your /etc/network/interfaces I bet somebody
could help you.
[...]
> I assumed that the ifup/ifdown stuff discussed in the "man interfaces"
> was referring to some call to ifup that was being done during
> system startup somewhere; hence, the reason for my reboot.
You're correct. If you want to restart ifupdown without rebooting, you can issue
'/etc/init.d/networking restart' (without quotes and as root -- use sudo if
you've got it). That'll save time, especially while you're debugging.
Good luck,
- Chris
>
> See what I mean?
>
>
> Shachar Or wrote:
>> On Wednesday 20 August 2008 23:29, Ed Sutter wrote:
>>> Thanks for the responses!
>>>
>>> My /etc/network/interfaces file already has the following:
>>> > # The loopback network interface
>>> > auto lo
>>> > iface lo inet loopback
>>> >
>>> > # The primary network interface
>>> > allow-hotplug eth0
>>> > iface eth0 inet dhcp
>>> >
>>> > auto eth0
>>>
>>> I commented out the "auto eth0" line and rebooted.
>>
>> Don't reboot for network configuration...
>>> No change.
>>
>> What is the change you're looking for?
>>
>>> Then I put "auto eth0" back in and commented out "allow-hotplug eth0".
>>> Same thing.
>>>
>>> Any other thoughts?
>>
>> Did you read the whole documentation and understand how the ifupdown
>> thing works?
>>
>> Also, 'man ifconfig' to see how to check the status of your interfaces.
>>> Ed
>>>
>>> Shachar Or wrote:
>>>> On Wednesday 20 August 2008 22:46, Sebastian Canagaratna wrote:
>>>>> Ed Sutter wrote:
>>>>>> Hi,
>>>>>> I have Debian 4.0 on a machine now for 2 days.
>>>>>> Thanks to this list, my screen resolution problem is
>>>>>> resolved. Next (and hopefully last) problem is that
>>>>>> each time I boot the system I have to manually enable
>>>>>> my network connection. When Gnome starts up, I see in
>>>>>> the top of the screen a small ethernet cable icon with
>>>>>> a big NOT sign (red circle with a slash
>>>>>> through it) over top of it. I right-click on that and
>>>>>> a pull-down menu allows me to enable my wired network.
>>>>>> Then everything is fine.
>>>>>>
>>>>>> How can I fix this so that the network just comes up automatically?
>>>>>> Couldn't find anything on this in the archives or in the GUI.
>>>>>>
>>>>>> Thanks
>>>>>> Ed
>>>>> Hi:
>>>>> You should have a files /etc/network/interfaces
>>>>>
>>>>> which should have something like:
>>>>>
>>>>> auto lo
>>>>> iface lo inet loopback
>>>>>
>>>>>
>>>>> allow-hotplug eth0
>>>>>
>>>>> iface eth0 inet dhcp
>>>>>
>>>>> auto eth0
>>>> There's no point in having both allow-hotplug and auto.
>>>>
>>>>> *****
>>>>>
>>>>> try it with and without the auto eth0. I am assuming the eth0 is your
>>>>> wired network: it may be eth1, or eth3 for you. I am also assuming you
>>>>> are using dhcp.
>>>>>
>>>>>
>>>>> man interfaces will give you more information.
>>>>>
>>>>> Sebastian Canagaratna
>>
>
>
Reply to: