|
Using Network card (LAN) |
STEP1:Make a LANcard
available. |
1)
|
Find your card /etc/pcmcia/config.
Example: I use a LAN card "Buffalo LPC3-CLT
"
you can find your "card infomation".
and
grep LPC3-CLT
/etc/pcmcia/config |
LPC3-CLT is not found.
if you find your card on this file go to STEP2. |
2)
|
Next. Check the "Module"
from
"Linux
PCMCIA Supported Device List"
[pcnet_cs]
:
Buffalo LPC3-CLT |
|
3)
|
edit file "/etc/pcmcia/config"
|
|
and add following 3line on this file.
card "BUFFALO
LPC3-CLT"
version "BUFFALO", "LPC3-CLT"
bind "pcnet_cs" |
finish to edit and quit, on "vi".
|
4)
|
restart jornada.
# on my case," /etc/init.d/pcmcai restart "
is failed. |
5)
|
check your LAN card module by lsmod |
|
lsmod
Module |
Size |
Used by |
pcnet_cs |
11248 |
0 |
8390 |
6532 |
0 [pcnet_cs] |
|
I find pcnet_cs. OK. you can see your card name
by command
|
STEP2:Config |
1)
|
vi /etc/pcmcia/network.opts |
|
vi /etc/pcmcia/network.opts |
# Network adapter configuration
#
case "$ADDRESS" in
MyHome,*,*,*)
INFO="Sample private network setup"
# Transceiver selection, for some cards --
see 'man ifport'
IF_PORT=""
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)?
[y/n]
BOOTP="n"
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient,
or /sbin/pump)? [y/n]
DHCP="n"
PUMP='n'
# If you need to explicitly specify a hostname
for DHCP requests
DHCP_HOSTNAME=""
# Host's IP address, netmask, network address,
broadcast address
IPADDR="192.168.0.102"
NETMASK="255.255.255.0"
NETWORK=""
BROADCAST=""
# Gateway address for static routing
GATEWAY="192.168.0.100"
# Things to add to /etc/resolv.conf for this
interface
DOMAIN=""
SEARCH=""
DNS_1="192.168.0.100"
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# If you need to override the interface's
MTU...
MTU=""
# For IPX interfaces, the frame type and network
number
IPX_FRAME=""
IPX_NETNUM=""
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the
interface
stop_fn () { return; }
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
DHCP,*,*,*)
INFO="Sample private network setup"
IF_PORT=""
BOOTP="n"
DHCP="y"
PUMP='y'
NO_CHECK=n
NO_FUSER=n
;;
esac
|
|
|
memo:
on vi , [v] or [V] ,start to select
charactor(by [v[) or line(by [V]) ,with
cursole-key.next,[y] or [Y] is copy
. Paste is [p]. |
|
|
2) |
static IP setup. |
|
|
3) |
Check your network. |
|
|
|
"eth0" and "lo"
is succsess.
only "lo" or error message is failed.
check
a) /etc/pcmcia/network.opts
|
4) |
check ping |
|
|