Author Topic: Configure Network On Boot-up In Beta1  (Read 2212 times)

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Configure Network On Boot-up In Beta1
« on: May 28, 2007, 06:41:35 am »
im looking for somewhere to either exec a script from or put in the ifconfig line to assign an ip to my network card on boot before i login but after the sd and cf card slots are initialised... ?

thanks again,

Hayden.
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Configure Network On Boot-up In Beta1
« Reply #1 on: May 28, 2007, 07:06:26 am »
im found a way by modifying this from here:

Try adding the following to the end of /etc/rc.d/rc :

if [ $runlevel -eq 5 ]; then
export HOME=/home/root
/usr/X11R6/bin/startx
fi

https://www.oesf.org/forums/index.php?showtopic=17984&hl=
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Configure Network On Boot-up In Beta1
« Reply #2 on: May 28, 2007, 07:09:29 am »
except when i login in now through ssh (without having to login on the z) it locks up ??

do i need to login to the z first ??
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Configure Network On Boot-up In Beta1
« Reply #3 on: May 28, 2007, 12:24:27 pm »
If you poke around on Meanie's site, you can find how to auto-login. That should solve your problems.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Configure Network On Boot-up In Beta1
« Reply #4 on: May 29, 2007, 03:45:32 am »
i had a look into his site, couldnt find the login part, but reading what he has there pointed me in the right direction, that and looking at my /var/log/messages after inserting my cf ethernet...

i found in /etc/pcmcia/

network and network.opts

made some changes and now it assigns an ip automatically apon insert or boot without even having to login ! swell

network.opts:
Code: [Select]
# 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
*,*,*,*|default,*,*,*)
    BOOTP=n
    DHCP=n
    IPADDR=192.168.129.201
    start_fn () { return; }
    stop_fn () { return; }
   ;;
esac
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site