You are not logged in.
Pages: 1
when network.sh executes, (1) is there a log produced of the commands and terminal outputs and, (2) if there is a log, what is the path/location?
thanks
Offline
All scripts including network.sh are logged in /var/log/boot.log at boot time.
Offline
@Bellard,
thanks
if the network script is run after boot, will it be logged to the same file?
Offline
You have to create the log yourself:
# script -c '/etc/init.d/network.sh' /path/to/network.log
Offline
@Bellard,
thanks, will give it a try
Offline
@Bellard,
thanks again; likely asked the wrong question
network.sh passes certain commands to the kernel
trying to determine what those commands are; read network.sh but it is beyond my scripting skills
had several problems with wifi; @mojo helped me finally get wifi working
now trying to understand what commands are passed from the script to get wifi working
thanks
Offline
# script -c 'sh -x /etc/init.d/network.sh' /path/to/network.log
Offline
@Bellard,
thanks; me thinks me screwed things up
typed following command in root terminal; after running, wifi will not work
cp /media/MULTIBOOT/sys/slitaz-4.0/network.conf /etc/
tazpkg install /media/MULTIBOOT/sys/slitaz-4.0/ipw2200-firmware-3.1.tazpkg
script -c 'sh -x /etc/init.d/network.sh stop' /media/MULTIBOOT/sys/slitaz-4.0/network-stop.log
script -c 'sh -x /etc/init.d/network.sh start' /media/MULTIBOOT/sys/slitaz-4.0/network-start.log
background info: running slitaz 4.0 via YUMI.
next 2 commands from @mojo; they worked
cp /media/MULTIBOOT/sys/slitaz-4.0/network.conf /etc/
tazpkg install /media/MULTIBOOT/sys/slitaz-4.0/ipw2200-firmware-3.1.tazpkg
after running these 2 commands the first time, wifi no longer works
script -c 'sh -x /etc/init.d/network.sh stop' /media/MULTIBOOT/sys/slitaz-4.0/network-stop.log
script -c 'sh -x /etc/init.d/network.sh start' /media/MULTIBOOT/sys/slitaz-4.0/network-start.log
#1 ?any idea what screwed up?; in interim, will rebuild slitaz from scratch
#2 @mojo's original commands
/etc/init.d/network.sh stop
/etc/init.d/network.sh start
#3 once working again, would like to put the 4 following commands into a script. ?when calling another script from within a script is the correct syntax ". script.sh"?
cp /media/MULTIBOOT/sys/slitaz-4.0/network.conf /etc/
tazpkg install /media/MULTIBOOT/sys/slitaz-4.0/ipw2200-firmware-3.1.tazpkg
/etc/init.d/network.sh stop
/etc/init.d/network.sh start
Offline
found the error of my ways ... disregard the last post
would like to put the 6 following commands into a script. ?when calling another script from within a script is the correct syntax ". script.sh"?
cp /media/MULTIBOOT/sys/slitaz-4.0/network.conf /etc/
tazpkg install /media/MULTIBOOT/sys/slitaz-4.0/ipw2200-firmware-3.1.tazpkg
modprobe -r ipw2200
modprobe ipw2200
/etc/init.d/network.sh stop
/etc/init.d/network.sh start
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]