eth0: Not installed

nzhomie
Posts: 1
Member Since:
2007-01-16

Just installed 2.6 and just loged in as root and it came up eth0 not installed. On my 2.4 last version it worked perfectly. It also is saying when i type help-trixbox.... permission denied. my network card is a SMC1244TX EZ Card™ 10/100.

any tips on how to get it working?

cheer nzhomie



danardf
Posts: 50
Member Since:
2006-09-21
Same for me. 2.2.3 ok tb 2.6

Same for me.
2.2.3 ok
tb 2.6 and elastix 1.0 same problem.

and the eth0 is not down (ping, etc ...) ok!
only this information : eth0 not installed .

And on the first screen info server.
Asterisk not installed
mysql not installed....

On freepbx all is ok!

Why this diffrent information?????

--

Franck Danard
-= France =-



amtest
Posts: 20
Member Since:
2008-04-03
I had that problem aswell,

I had that problem aswell, you could try do netconfig and setup the settings. After that, try do ifconfig eth0 up. No matter what it says next, reboot your system using shutdown -r now. This usually works for me, for some reason.

EDIT: I get this almost everytime I reboot my Trixbox system.
EDIT: You might have to reboot a second time to make it work.



KodaK
Posts: 1885
Member Since:
2006-06-14
If the modules aren't

If the modules aren't installed no amount of rebooting is going to help.

At some point I'll try to sit down and write a how-to, but by the nature of the subject it requires actual thinking on the part of the reader, and those are the most difficult to write.

What usually needs to happen in these cases:

1) google the hell out of your network device to see if there's a linux driver out there somewhere.

2) if you find one, follow the instructions that come with it.

In a bit more detail, you can do:

lspci -v

to see if you can find some more information about your device. Just because it says "ACME Network Card" on the box doesn't mean that the chip on the card (which is the important part) is an "ACME" chip. Using lspci might give you the chip name.

Either way, you're going to have to google variations of "ACME network card linux driver" or "chipname linux driver source" and similar. You'll find a lot of useless garbage, and you'll find a lot of people in forums asking the exact same question as you. Sometimes, however, you'll find a link to driver source code.

What I usually do once I find a driver is throw another network card in the box that I know works, and get it set up for Internet access.

Then I install development tools: yum install kernel-devel gcc c++

Once I've got the dev tools, I download the drivers I found:

wget http://host.of.drivers/path/to/drivers.tar.gz

Once I get them I untar and uncompress them:

tar zxvf drivers.tar.gz

then start exploring the directory tree it created. Look for README files, or INSTALL files, or a doc directory or something that might have more information.

Regardless, it's usually a simple matter of going into the source directory and doing "make install" and then "depmod -a" and then modprobing the driver that was just built: "modprobe acme". NOTE THAT THE DRIVER WILL PROBABLY NOT ACTUALLY BE CALLED ACME (I guarantee that someone will email me and say "I have a hessen-feffer 5000, but I can't find the acme driver you're talking about.") However, if there are instructions, follow them.

The important conceptual information you should take from this is that:

If the kernel you're using does not have a driver for your hardware, you're going to have to find, build, install and configure a module for your hardware.

To build the driver, you're most likely going to need, at a minimum, the kernel headers (contained in the kernel-devel rpm,) a compiler (gcc,) and the source code for your device.

Just an upfront warning: many, many times you will have a device in your hand that uses a supported chip. However, the driver for that chip does not recognize the PCI ID for that device (this is usually because the card is a minor revision of another supported card, or it's a new brand or something like that.) If you know how, you can edit the source code for the driver in question and add support for that PCI ID, but that's way, WAY outside the scope of this forum post.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



danardf
Posts: 50
Member Since:
2006-09-21
02:01.0 Ethernet controller:

02:01.0 Ethernet controller: 3Com Corporation 3C920B-EMB Integrated Fast Ethernet Controller [Tornado] (rev 40)
Subsystem: ASUSTeK Computer Inc. A7N8X Deluxe onboard 3C920B-EMB Integrated Fast Ethernet Controller
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at d000 [size=128]
Memory at df000000 (32-bit, non-prefetchable) [size=128]
[virtual] Expansion ROM at 50000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2

this device is know for all OS and centos 4!
and on the first installation, this devices is ok on DHCP.
I edit netconfig for enter a static IP and the problem begin..

I don't know why

--

Franck Danard
-= France =-



KodaK
Posts: 1885
Member Since:
2006-06-14
It appears I've misread the

It appears I've misread the problem.

You guys are saying the NIC works, but "it" says eth0: not installed?

Can you be a bit more descriptive when defining what "it" is? Are you talking about the motd when you log in as root?

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



danardf
Posts: 50
Member Since:
2006-09-21
Ok (i translate by google)

Ok (i translate by google) ;)

When installing for the first time TB, Eth0 is detected and works well (Assigning a dynamic IP address DHCP).
I fill by> netconfig, asdresse static ip and then to reboot over Eth0 "Not Installed"!

I reconfigure by> @ netconfig my IP, and then reboot.
Eth0 is still not installed, but it works!
Ping, html, SSH.

lspci -v is ok for 3C920 eth0.

--

Franck Danard
-= France =-



KodaK
Posts: 1885
Member Since:
2006-06-14
I'll keep my lame humor to a

I'll keep my lame humor to a minimum since you're using google to translate.

Try using system-config-network instead of netconfig to make your changes.

I don't know if it will do any good, but it's worth a shot.

That motd (which stands for "message of the day") is generated by a script. It is purely informational. I suspect that, for some reason, the network isn't up when that script runs.

Try running:

/usr/local/sbin/motd.sh

and then just log out and log back in. It should show the IP. Then reboot and see if the problem comes back. It's probably not an issue, it's just that the script that generates that information runs before your network device is ready.

I hope that helps.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



danardf
Posts: 50
Member Since:
2006-09-21
// I'll keep my lame humor

//
I'll keep my lame humor to a minimum since you're using google to translate.
//

Since I am french, and I do not (written) English fluently, I can, in time, speak no good!
I understand a little (well, too bad for the technical part).
I try not to use google, but sometimes it helps ;)

So I use Google to translate what I do not know.
//

So
If i use system-config-network, Eth0 is here with a good configuration.

now if i use >/usr/local/sbin/motd.sh i have this result:

[trixbox1.localdomain ~]# /usr/local/sbin/motd.sh
eth1: erreur lors de la recherche d'infos sur l'interface: Périphérique non trouvé

in US > eth1:Error when searching for information about the interface: Device Not Found

Welcome to trixbox CE
-------------------------------------------------

For access to the trixbox web GUI use this URL
eth0: Not installed

For help on trixbox commands you can use from this
command shell type help-trixbox.

--------------------
For information, Eth1 is down on the BIOS, = > it's normal

//
...it's just that the script that generates that information runs before your network device is ready.
//

The problem come back.

--

Franck Danard
-= France =-



KodaK
Posts: 1885
Member Since:
2006-06-14
Ok, for some reason the

Ok, for some reason the $IPADDR variable isn't getting set.

Run the following commands:

ifconfig eth0

ifconfig eth0|gawk '/inet addr/{print $2}'|gawk -F: '{print $2}'

And post the output.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



danardf
Posts: 50
Member Since:
2006-09-21
hi Excuse me. I was in

hi
Excuse me.
I was in weekend.
So...

[trixbox1.localdomain ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:26:54:0C:07:C9
inet adr:193.107.20.38 Bcast:193.107.20.255 Masque:255.255.255.0
adr inet6: fe80::226:54ff:fe0c:7c9/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1368681 errors:0 dropped:0 overruns:1 frame:0
TX packets:528771 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:192103610 (183.2 MiB) TX bytes:150413793 (143.4 MiB)
Interruption:11 Adresse de base:0xa000

[trixbox1.localdomain ~]# ifconfig eth0|gawk '/inet addr/{print $2}'|gawk -F: '{print $2}'
[trixbox1.localdomain ~]#

Nothing !! but
[trixbox1.localdomain ~]# ifconfig eth0|gawk '/inet adr/{print $2}'|gawk -F: '{print $2}'
193.107.20.38
[trixbox1.localdomain ~]#

difference -> /inet adr/ and not -> /inet addr/

--

Franck Danard
-= France =-



SkykingOH
Posts: 8081
Member Since:
2007-12-17
Interesting mine says

Interesting mine says addr!

Scott

--

Scott

aka "Skyking"



danardf
Posts: 50
Member Since:
2006-09-21
Yes, it's curious.

Yes, it's curious.

--

Franck Danard
-= France =-



KodaK
Posts: 1885
Member Since:
2006-06-14
His also says "Masque" so

His also says "Masque" so I'm assuming this is an artifact of i18n.

Just change the script to use "adr" instead of "addr" and it will work. Keep in mind that it is cosmetic and doesn't serve a real purpose.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



danardf
Posts: 50
Member Since:
2006-09-21
yes. Now it's work.

yes.
Now it's work. :)

good.
Thanks very much.

--

Franck Danard
-= France =-



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.