Hello all!
I'm new to OpenWRT and installed it on an Alix 2c2 board. Since I don't have a Linux computer available, I just downloaded the Compact Flash image and copied t to the CF card using dd2 for Windows. Everything went successfull and the system boots. Now, I've got a problem: under /etc/conf/network I wanted to config eth0. I only changed the IP address from $ip to 192.168.1.1 and also rebooted the device afterwards.However, ifconfig eth0 just gives me an error saying it codn't find the interface. Also ifconfig eth1 doesn't work. I connected the embedded PC to my laptop and tried to ping it, bu no success. Only interface available is the loopback. Can anyone help please? Thanks!!!
Robin
Topic: Interface config problem with Alix 2c2 board
The content of this topic has been archived between 23 Apr 2018 and 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Hi again,
can't anyone help me with this? Sorry for being impatient, but I really need this device. I've seen that actually it is no problem to get OpenWRT running, just download and copy the image to the CF card, boot from it and the interfaces work. However, this really isn't the case here. Please help!
Robin24
Additional comment>
I just found out that dmesg grep eth doesn|t output anzthing. Does thimean the network modules aren|t evven loaded_
Now, I've got a problem: under /etc/conf/network I wanted to config eth0. I only changed the IP address from $ip to 192.168.1.1 and also rebooted the device afterwards.
I've never run Kamikaze on a x86 board, but here on my Fonera I use "uci" to configure the IP address:
uci show network.lan
uci set network.lan.ipaddr=X.X.X.X
uci commit
Alternatively you may edit /etc/config/network directly.
See http://wiki.openwrt.org/OpenWrtDocs/Kam … figuration for more details.
I've never heard of a /etc/conf/network containing "$ip".
Well, I now modified the &etc&config&ntwork to mz needs but it still doesn|t work. I suspect the network modules aren|t even loaded.
Robin24
Hello...
Excuse me, but doesn't anybody here have an idea of how to solve my problem? I see this is a very special issue thatdoesn't occur often, but isn't there a way of just loading the network interface modules? I mean, it can't be that hard! I'm a Linux newbie unfortunately, but I think it can't be that difficult to just start the interfaces up. Please, if anyone knows where I could start, let me know! Thanks!
Roin
If you included the drivers in your firmware build, they would be loaded automatically. I have a feeling you didn't choose the right options during menuconfig. My alix shows in dmesg
PCI: Setting latency timer of device 0000:00:09.0 to 64
eth0: VIA Rhine III (Management Adapter) at 0xe0000000, [mac], IRQ 10.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link cde1.
PCI: Setting latency timer of device 0000:00:0b.0 to 64
eth1: VIA Rhine III (Management Adapter) at 0xe0040000, [mac], IRQ 12.
eth1: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1.
and my lsmod:
# lsmod
Module Size Used by Not tainted
ip_gre 8992 0
ppp_async 7808 0
ppp_generic 18588 1 ppp_async
crc_ccitt 2432 1 ppp_async
slhc 5376 1 ppp_generic
arc4 2432 0
nf_nat_ftp 2944 0
nf_conntrack_ftp 6692 1 nf_nat_ftp
ipt_TTL 2432 2
ipt_REDIRECT 2304 0
ipt_LOG 5380 5
ipt_ttl 2176 2
ipt_recent 6812 12
xt_connbytes 2816 0
via_rhine 16904 0
ne2k_pci 7648 0
8390 7680 1 ne2k_pci
leds_alix 2820 0
natsemi 20832 0
deflate 3072 0
ecb 2944 0
cbc 3584 0
crypto_blkcipher 11524 2 ecb,cbc
crypto_hash 2304 0
cryptomgr 3200 0
crypto_algapi 8960 6 arc4,deflate,ecb,cbc,crypto_blkcipher,cryptomgr
good luck.
(Last edited by netprince on 30 May 2008, 00:05)
Hi,
well, I just downloaded the image from http://downloads.openwrt.org/kamikaze/7 … ext2.image
I|d like to make myself an image, however I don't have another Linux system. Well, is this image suitable for my Alix 2c2?
Robin
I use an Alix 2C3 and built my own image too. I'd be more than happy to upload an image known to work on my board if it'd help you out.
Thanks
Sam
actual svn is working (except some things like imq etc.pp.)
and afair 7.09 hasn't complete alix support
ciao gerd
(Last edited by gerd on 30 May 2008, 17:57)
Hi Sam,
oh wow, it would be so great if you could upload a working image, i'd really, really apreciate that!!! So do you have webspace or should I setup a FTP account for you? If so, please email me at robin.kipp[at]gmx.de
Thanks!!!
Robin24
Robin,
No problem. I've just updated from svn and am building it at the moment. Will upload it to my server tomorrow sometime (send me a email via the form on here if I forget...).
I should warn you that I've added some packages that I'm using, but these are just things like tcpdump, curl, openssl, etc. Nothing big.
Thanks,
Sam
Hi Sam,
thanks!!! When you uploaded the image, just poszt the link here or email it to me. Thanks!!!
Robin
Hi Sam,
how's the image coming along? :-) I just wanted to ask because yesterday you told me to remind you if you hadn't uploaded it to your server in the evening. Well, I don't know what timezone you're in, here in Switzerland it's 20:50 PM now. Sorry if this is coming to early for you, I just can't wait to get it working because the 14 days after I purchased it and can still send it back are almost over and I wanna send it back if it doesn't work... Thanks!
Robin
Hi Sam,
I'm not sure if you emailed me a link to the OpenWRT message yesterday. Someone sent me an email bomb of 3000 messages and I had to use a program that deletes all messages from the server. So if you actually did send me the link, could you please send it again? Thanks!
Robin24
Sorry for the delay, just sent you a mail.
Thanks
Sam
Hi,
thanks! Installed he image and got it working :-)
Robin24
No problem, glad I could help.
You might want to get yourself a VMware instance running on your workstation so you can build future releases yourself.
Sam
Hi,
I just tried installing with the most recent snaphot x86 image and it looks like support for the Alix ethernet driver still isn't compiled into the image. No eth0 interfaces are showing up in dmesg output. Maybe ath0 is missing as well.
I hope to build a VMware test environment but right now I don't have any machines beefy enough to run a VM effectively. Could somebody point me to an image that has the drivers compiled in?
Should the wiki page at http://wiki.openwrt.org/AlixPort be updated to explicitly state that the pre-built image for x86 doesn't recognize the NICs?
As long as I'm asking questions, could anybody shed some light on how to get a pre-built x86 image to recognize a 2gb flash card's full size? Is JFFS able to fill a full drive automatically or does one need to build their own image to do such a thing?
I'm starting to get really enthusiastic about openwrt and related projects. If I can get a good feel for running on Alix hardware I might be building out an office with a stack of the things. I've found that plain debian runs well with webmin on the hardware, but it seems like openwrt and webif are more appropriate for supporting dedicated communications setups.
thanks,
-carl
hi !
i run an actual snapshot and ethernet drivers are inside (via-rhine) and eth0-eth2 are working.
about missing ath0 device... => madwifi kerneldrivers installed ?
kind regards
Hi,
I'm installed OpenWrt Kamikaze 7.09 on an Alix 2 lan 2 miniPCI (lx 700).
I have the same problem of Robin24: ifconfig eth0 just gives me an error saying it codn't find the device. Only interface available is the loopback. Can anyone help me?
(Last edited by tox445 on 28 Aug 2008, 15:40)
Hi,
I just tried installing with the most recent snaphot x86 image and it looks like support for the Alix ethernet driver still isn't compiled into the image. No eth0 interfaces are showing up in dmesg output. Maybe ath0 is missing as well.I hope to build a VMware test environment but right now I don't have any machines beefy enough to run a VM effectively. Could somebody point me to an image that has the drivers compiled in?
Should the wiki page at http://wiki.openwrt.org/AlixPort be updated to explicitly state that the pre-built image for x86 doesn't recognize the NICs?
As long as I'm asking questions, could anybody shed some light on how to get a pre-built x86 image to recognize a 2gb flash card's full size? Is JFFS able to fill a full drive automatically or does one need to build their own image to do such a thing?
I'm starting to get really enthusiastic about openwrt and related projects. If I can get a good feel for running on Alix hardware I might be building out an office with a stack of the things. I've found that plain debian runs well with webmin on the hardware, but it seems like openwrt and webif are more appropriate for supporting dedicated communications setups.
thanks,
-carl
Build your own image and copy the missing kernel module (via_rhine.ko) from trunk to the CF using a card reader.
Include madwifi kernel modules for support of atheros wifi chipset.
Maybe OpenWrt will run fine on the ALIX, but I decided to switch to ubuntu server (debian based) on my alix2c3 (with 40GB HD!), because (a) I have some other "real" servers running ubuntu, and (b) Ubuntu Server 8.04 has updates for 5 years, in the contrary, OpenWrt does (currently) not supply any updates, all you can do is, reinstall from scratch (if there is a later stable version), or try to update your personal trunk. I prefer the "aptitude udpate; aptitude full-upgrade" way :-)
best regards
Martin
Do you use any WebGUI to administrator Ubuntu Server on your Alix?
I'm using Webmin and phpmyadmin for SQL databases.
Hi,
Unfortunately I don't have a Linux box at the moment. Someone could send me the correct image file for my Alix ALIX.2C0 lx700 with 2 lan and 2 miniPCI? If someone can help me please send me an e-mail. Thanks!!!