SliTaz SliTaz Forum

You are not logged in.

#1 2012-07-05 11:58:27

frank4360
Member
Registered: 2012-06-27
Posts: 6

eth0 not running at startup

I am running SliTaz on a 10 year old Acer Aspire with less than 192 mb RAM.

On boot-up the eth0 interface is not connected - usually after lots of fiddling it mysteriously (to me) comes up, but I would like to find out how to connect properly.

The output from [c]lspci -nn | grep -i eth[/c] is

[c]00:12.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102 [Rhine-II] [1106:3065] (rev 74)[/c]

If I look on the SliTaz Control Box, Netbox Manager shows eth0 as connected.

If I click on the Network Connection icon, Connection Properties shows Name as blank (only the loopback shows in the dropdown list); and Status shows "error".

All ideas gratefully accepted - at present the link hasn't come up even with the fiddling I have been doing!

Offline

#2 2012-07-05 13:26:10

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: eth0 not running at startup

Try this:

#/etc/init.d/network.sh start

Offline

#3 2012-07-05 15:40:02

frank4360
Member
Registered: 2012-06-27
Posts: 6

Re: eth0 not running at startup

Hello rerivero

I ran [c]/etc/init.d/network.sh start[/c] as root.

The response was `wlan0 is not a wifi interface, changing it

Configuring...ifconfig: up: error fetching interface information: Device not found

lo   no wireless extensions

eth0 no wireless extensions

dummy0 no wireless extensions

iwconfig: unknown command "any"

Starting udhcpc client on: ...

udhcpc: SIOCGIFINDEX: No such device`

The eth0 network did not come up - at least the network icon at the screen bottom right still showed the "No entry" sign (round red with a white bar across it). However, I was able to access the internet with the browser - to ensure that it was not serving from cache I picked up random sites I had never been to before!

Connection Properties box showed eth0 sending/receiving, and the "No entry" sign has just disappeared from the network icon.

All seems very odd.

Offline

#4 2012-07-05 16:58:29

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: eth0 not running at startup

Ok ..

first as root do

#ifconfig eth0 down

then see the following file

#nano /etc/network.conf

and having these parameters ..

     INTERFACE = "eth0" (if eth0 is not correct)

save, exit and run

#ifconfig eth0 up

and then run

#/etc/init.d/network.sh start

and see if the connection works ...

Offline

#5 2012-07-06 14:38:39

frank4360
Member
Registered: 2012-06-27
Posts: 6

Re: eth0 not running at startup

Thanks rerivero

Because of a few other problems I have re-installed SliTaz from a cd; the ethernet connection now works at boot-up.

I presume I caused a problem when I was experimenting with the first installation; one possibility was my attempts to get wireless working - I have a USB WiFi connection (or rather, non-connection) and I may have screwed something up trying to get it to work.

There now remain three main problems:-

1. the wireless connection - the USB WiFi is made by the French company Sagem, reference XG-703A. The only drivers I have found so far are for Windows.

2. Dropbox doesn't install from the Tazpkg manager, nor from the command line using the commands givzn on the Dropbox site. In each case an error message says the url is neither HTTP or FTP.

3. I would like to improve the definition of the screen - so far I haven't even started looking at this so it is not really important.

If you have any ideas, please let me know.

Offline

#6 2012-07-18 00:17:41

lfever
Member
Registered: 2011-10-17
Posts: 7

Re: eth0 not running at startup

I too am unable to get a working eth0 connection at startup,

Doing this:

/etc/init.d/network.sh start

gives this:

Configuring eth1...                                                  [ OK ]

Starting udhcpc client on: eth1...

udhcpc (v1.18.4) started

Sending discover...

Sending discover...

Sending discover...

No lease, forking to background

Then I did:

ifconfig eth0 down

Then:

nano /etc/network.conf

Gives:

INTERFACE="eth0"

Then:

ifconfig eth0 up

At this point the network status indicator shows eth0 connected but I cannot access the Internet. Continuing on with:

/etc/init.d/network.sh start

Gives:

Configuring eth1...                                                  [ OK ]

Starting udhcpc client on: eth1...

udhcpc (v1.18.4) started

Sending discover...

Sending discover...

Sending discover...

No lease, forking to background

The network status indicator shows that eth0 is not connected and cannot connect to the Internet.

The only way I can get a working eth0 connection is to select Start under the DHCP tab in Netbox Manager

Why is eth0 not auto connecting on boot?

I would appreciate any help with this matter smile

Thanks

Offline

#7 2012-07-18 00:32:20

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: eth0 not running at startup

@lfever

If you have 2 network adapters physically remove or disable one of them in motherboard bios.

Offline

#8 2012-07-18 00:35:41

lfever
Member
Registered: 2011-10-17
Posts: 7

Re: eth0 not running at startup

Hi mojo

I only have one ethernet adapter, however the wifi card shows as an ethernet connection.

Offline

#9 2012-07-18 00:57:17

lfever
Member
Registered: 2011-10-17
Posts: 7

Re: eth0 not running at startup

@mojo

I disabled the wifi connection at boot and eth0 auto connects smile

Thanks mojo!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]