FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-20-2008, 08:33 PM
Ed Sutter
 
Default no network connection

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-20-2008, 08:39 PM
Shachar Or
 
Default no network connection

On Wednesday 20 August 2008 22:33, 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.

I don't know about the GNOME desktop. For systems with static network
configuration (one that doens't change, unlike laptops) it would be advisable
to use the ifupdown package. Check out the documentation
in /usr/share/doc/ifupdown .
>
> Thanks
> Ed

--
Shachar Or | שחר אור
http://ox.freeallweb.org/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-20-2008, 08:46 PM
"Cassiano Leal"
 
Default no network connection

Hi

On Wed, Aug 20, 2008 at 4:39 PM, Shachar Or <dawnlight@lavabit.com> wrote:

On Wednesday 20 August 2008 22:33, 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.



I don't know about the GNOME desktop. For systems with static network

configuration (one that doens't change, unlike laptops) it would be advisable

to use the ifupdown package. Check out the documentation

in /usr/share/doc/ifupdown .

>

> Thanks

> Ed



Shachar might have a point there. The icon you see in the tray is nm-applet, which talks to the network-manager daemon. Network Manager only takes control of interfaces that are set with allow-hotplug. If your interface was previously set up with auto, Network Manager will ignore it by default.


Check your /etc/network/interfaces . My eth0 entry looks like this:

allow-hotplug eth0
iface eth0 inet dhcp

If you want Network Manager, your interfaces file should look similar to mine above.


Cheers,
Cassiano Leal
 
Old 08-20-2008, 08:46 PM
Sebastian Canagaratna
 
Default no network connection

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


*****

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-20-2008, 08:52 PM
Shachar Or
 
Default no network connection

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

--
Shachar Or | שחר אור
http://ox.freeallweb.org/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-20-2008, 08:56 PM
"Cassiano Leal"
 
Default no network connection

On Wed, Aug 20, 2008 at 4:52 PM, Shachar Or <dawnlight@lavabit.com> 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.
I have actually had problems mixing auto with network-manager. I would highly recommend using allow-hotplug with it.
 
Old 08-20-2008, 09:29 PM
Ed Sutter
 
Default no network connection

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.
No change.
Then I put "auto eth0" back in and commented out "allow-hotplug eth0".
Same thing.

Any other thoughts?
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





--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-20-2008, 09:36 PM
Shachar Or
 
Default no network connection

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

--
Shachar Or | שחר אור
http://ox.freeallweb.org/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-20-2008, 09:48 PM
"Cassiano Leal"
 
Default no network connection

On Wed, Aug 20, 2008 at 5:29 PM, Ed Sutter <esutter@alcatel-lucent.com> 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.

No change.

Then I put "auto eth0" back in and commented out "allow-hotplug eth0".

Same thing.



Any other thoughts?


Try opening gconf-editor, then navigating to /apps/NetworkManagerApplet and check that you have networking_enabled set to true.

Cheers,
Cassiano Leal
 
Old 08-20-2008, 09:53 PM
Ed Sutter
 
Default no network connection

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. My typical usage of
this system is to ssh into it from another machine, that won't
necessarily be local to my debian machine's console. This all works
fine, except that I have to log into the console the first time after
bootup to enable ethernet through that icon I mentioned earlier.

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.

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





--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 04:29 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org