Network configuration problem (Puppy-1.0.4 with XFree 4.5.0)

Booting, installing, newbie
Post Reply
Message
Author
Lauri

Network configuration problem (Puppy-1.0.4 with XFree 4.5.0)

#1 Post by Lauri »

PCMCIA-Card (XIRCOM Credit Card Ethernet 10/100) is correctly detected (checked with "cardctl ident") and the appropriate driver is loaded ("lsmod").
When using the networkwizard, there's only the option, to add a driver or EXIT, the buttons to test or configure the network are missing.
Any idea, how to go further ? (Hardware is ok, works with other distributions and Win...)

Guest

#2 Post by Guest »

Wizzard is a no go in that area...


edit by hand, it's not that hard

/etc/pcmcia/network.opts

Then when the pcmcia subsytem loads the driver it will bring up the network..


easy hey

lauri

#3 Post by lauri »

maybe easy for you ! :wink: not for me at this moment :cry:
can you give me some details, what to fill in; I would like to use dhcp.

Guest

#4 Post by Guest »

mmmmm If you had of looked at the file....


but here you go

Code: Select all

# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO.  In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
*,*,*,*)
    INFO="Sample private network setup"
    # Use this to override the interface name -- see 'man nameif'
    NAMEIF=""
    # 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"
    # If you need to explicitly specify a hostname for DHCP requests
    DHCP_HOSTNAME=""
    # Host's IP address, netmask, network address, broadcast address
    IPADDR=""
    NETMASK="255.255.255.0"
    NETWORK="10.0.1.0"
    BROADCAST="10.0.1.255"
    # Gateway address for static routing
    GATEWAY="10.0.1.1"
    # Things to add to /etc/resolv.conf for this interface
    DOMAIN=""
    SEARCH=""
    DNS_1=""
    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
    ;;
esac
change this line to as follows

Code: Select all

    
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
    DHCP="y"
And that's all you need to do

lauri

#5 Post by lauri »

That's what I've already done, before I asked the question. But this seems to have no effect; after rebooting there was no device eth0 (checking with ifconfig eth0). I'll try it once again, maybe put some "debug"-info into network.opts, to see, if this file is used by another at all.

Post Reply