From: Karl S. <ksi...@ya...> - 2002-02-28 21:04:04
|
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. __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com |
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... |
From: Karl S. <ksi...@ya...> - 2002-03-01 22:01:31
|
Thanks Bill. Unfortunately, I had tried that with no luck. If I leave the defaults (no eth0, gateway, host, etc. in tux/config) I don't even get a dhcp address. If I put those files there they make no difference. After booting I end up with a live interface (ifconfig -a shows eth0), but there's no ip associated with it. Could it be that by doing the insmod as part of the /tux/init/last script, that the interface becomes active too late in the boot cycle to read that config info? I've gotten around the problem temporarily by adding: ifconfig eth0 192.168.1.111 to that 'last' script. This works, but I'd like to have the option for dhcp. Is anyone else loading the pcmcia modules from an IDE drive? Thanks for the help. K. --- Bill Burdick <bi...@ap...> wrote: > 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... > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com |
From: Bill B. <bi...@ap...> - 2002-03-04 15:02:49
|
Sounds to me like you might want to do the insmods in tux/init/prenet. On Fri, 2002-03-01 at 16:01, Karl Sigler wrote: > Thanks Bill. Unfortunately, I had tried that with no > luck. If I leave the defaults (no eth0, gateway, host, > etc. in tux/config) I don't even get a dhcp address. > If I put those files there they make no difference. > After booting I end up with a live interface (ifconfig > -a shows eth0), but there's no ip associated with it. > > Could it be that by doing the insmod as part of the > /tux/init/last script, that the interface becomes > active too late in the boot cycle to read that config > info? > > I've gotten around the problem temporarily by adding: > > ifconfig eth0 192.168.1.111 > > to that 'last' script. This works, but I'd like to > have the option for dhcp. Is anyone else loading the > pcmcia modules from an IDE drive? > > Thanks for the help. > > K. -- Bill Burdick Bi...@ap... |