From: Bill B. <bi...@ap...> - 2002-02-28 22:01:03
|
To get an ip address at boot, make a file in tux/config/ with the same name as your interface (like eth0) and put the ip and netmask on a single line in the file (like "10.1.0.1 255.255.255.0"). I would advise making sure the file ends in a newline (sorry if that's obvious). On Thu, 2002-02-28 at 15:03, Karl Sigler wrote: > o.k., there's got to be an easier way to do what I'm > trying. I have a laptop with a 3com pcmcia NIC in it. > It has an NTFS partition that I'm using to load > packages (C:/trinux). > > The pcmcia boot disk works great with no tweaking. It > loads the modules fine and I've been able to both > assign a static IP to the NIC as well as use dhcp. > > Using the IDE boot disk sees the NTFS partition fine > and loads packages without problem. I tried putting > the pcmcia-bin, -coremods, and -3com files in bootpkg, > but they wouldn't load. I moved them up to just the > c:/trinux dir, added them to the end of config/pkglist > and they load fine. I should say they extract fine. > > In order to load the modules I added the following to > the /init/last script: > > insmod pcmcia_bin > insmod pcmcia_coremods > insmod pcmcia_3com > cardmgr > > This actually works, but the NIC never receives an IP > addr. By tweaking /etc/pcmcia/network.opts I can > assign it one, but the changes don't keep from boot to > boot. I'm sure I'm taking the long way around the > mountain. Can anyone point me to the short-cut? > > Thanks. BTW, This distrib is saving my life. I have a > company issued laptop with one flat partition. Tech > support is scared of linux and won't let me modify > anything. I teach security as part of my job and need > things like dsniff, hping2, nmap and netcat. If I can > get this NIC issue ironed out, I won't have to lug two > laptops from city to city. > > Thanks again, > > K. -- Bill Burdick Bi...@ap... |