OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Ubuntu => Topic started by: Jockie on July 03, 2009, 03:16:12 am
-
Hi,
Has anyone got a buffalo LPC-CF-CLT LAN card connected while running Zubuntu? (HINT: It's not a wifi card, it's a wired one).
It works without any tinkering under Cacko. It couldn't be as ludicrously simple as just copying over drivers from Cacko to a driver folder in Zubuntu, could it?
Should I do a "dmesg" as suggested in a previous post on connectivity today (https://www.oesf.org/forum/index.php?showtopic=26574) and post the last 10 lines over here?
-
do an lsmod and see if pxa2xx_cs is loaded. this module controls the CF slot.
if not loaded then modprobe pxa2xx_cs.
and yes, listing a dmesg result after inserting the card wouldn't hurt.
-
Many thanks for your assistance duo.
root@Zubuntu:~# lsmod
makes no mention of pxa2xx_cs
root@Zubuntu:~# modeprobe pxa2xx_cs
gets the ACT light on, then plugging in the LAN gets the LINK light on.
Is there a further command to complete the connection? Currently firefox just displays "Address Not Found".
-
you need to setup your /etc/network/interfaces file.
you will probably want something like this for dhcp:
auto eth0
iface eth0 inet dhcp
or this for static ip:
auto eth0
iface eth0 inet static
address 123.123.123.123
netmask 123.123.123.123
gateway 123.123.123.123
if you are using dhcp, then you also need to edit your /etc/passwd file.
find the line that has
dhcp:x:10n:10n::something and change the 10n (where n is a number) to 0.
mine looks like this:
dhcp:x:0:0::/nonexistent:/bin/false
if you are using static ips, then you will need to edit /etc/resolv.conf
and add your dns server addresses in this format:
nameserver 111.111.111.111
nameserver 222.222.222.222
-
I have tried:
root@Zubuntu:~# ifup eth0
A few lines of text about Internet Systems Consortium appear followed by these lines:
No support for INET on this system.
Can't create addrlist socket
Failed to bring up eth0.
I tried:
root@Zubuntu:~# ifup eth1
....but that resulted in this:
Ignoring unknown interface eth1=eth1.
What next?
EDIT: Spent too long composing this message and missed duo's message posted before it. Will try duo's suggestion.
-
My /etc/network/interfaces file looked liked this:
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
I altered it to look like this:
auto eth0
iface eth0 inet dhcp
Rebooted.
Modeprobed.
Ran:
ifup eth0
...and again got this message:
No support for INET on this system.
Can't create addrlist socket
Failed to bring up eth0.
Anything else I should try?
-
Anyone?
Anything?
-
A few thoughts
Have you run pccardctl ident to see what your system is seeing?
Also what is ifconfig showing? Your card may not be eth0 and this will show you that.
Netstat -rn can also be helpful in seeing if you are routed
Since you can get the lights up on your card it looks to me like a config issue and I would try static instead of dhcp to see if that is the problem.
Steps for Static IP
modprobe pxa2xx_cs
ifconfig eth0 up
ifconfig eth0 xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx
route add default gw xxx.xxx.xxx.xxx eth0
You can find the numbers for the x inputs on a machine on your network with
ifconfig -a or ipconfig /all depending on OS
netstat -rn
This is just my method and others may have better methods.
Good luck
-
is there still a problem with zubuntu not running dhcp client as root? try running it at command line as root, e.g. dhclient eth0, or dhcpcd eth0.