Nowe posty

xx Dystrybucja pod HP Omen (6)
2024-03-27, 23:30:08
xx [Poradnik] Wyszukiwanie Sterowników (2)
2024-03-27, 21:08:23
lamp Problem z Linux Lite po instalacji (0)
2024-03-27, 19:50:30
xx Ile pingwinów? (1)
2024-03-27, 08:59:24
xx konfiguracja pale moon (0)
2024-03-24, 21:53:42
xx Plasma 6 w Neonie ssie trochę mniej ... (10)
2024-03-23, 02:38:11
xx problem z instalacja sterowników do karty sieciowej (3)
2024-03-18, 18:10:16
xx Plik abc.001 (1)
2024-03-17, 17:48:27
xx Zlecę dopracowanie programu w MatLab (0)
2024-03-13, 15:28:40
xx Linux Mint 21.3 XFCE brak dźwieku po paru minutach (karta muzyczna zintegrowana) (5)
2024-03-12, 23:07:01

Autor Wątek: mam problem z e skryptami może mi ktoś pomoże ?  (Przeczytany 3896 razy)

w4rri0r3k

  • Gość
mam problem z e skryptami może mi ktoś pomoże ?
« dnia: 2005-07-01, 00:00:03 »
zalezy mi by zainstalowac ta usluge na knoppixie 3.9 zainstalowanym na hd. korzystajac z opisu zamieszczonego na stronie pomoc.x.pl nie doszlo to do skutku, a tu log:

Witamy
Zapraszamy do instalacji oprogramowania dla modemu SpeedTouch ST330
dla potrzeb uruchomienia uslugi NET24.

Nacisnij ENTER zeby kontynuowac ...

Testowanie narzedzi do kompilacji                          [   OK   ]
Testowanie narzedzi do PCI                                 [   OK   ]
Testowanie obecnosci pakietu PPPOE                         [   OK   ]
Testowanie wsparcia dla USB                                [   OK   ]
Wersja kernela: 2.6.11                                     [   OK   ]
Testowanie pliku konfiguracyjnego kernela: .config         [   OK   ]
 Konfiguracja eksperymentalna                              [   OK   ]
   Wsparcie dla HOTPLUG                                    [   OK   ]
   Wsparcie dla TUN/TAP device                             [ MODULE ]
   Wsparcie dla PPP                                        [ MODULE ]
   Wsparcie dla PPP_ASYNC                                  [ MODULE ]
   Wsparcie dla PPP_SYNC_TTY                               [ MODULE ]
   Wsparcie dla PPP_DEFLATE                                [ MODULE ]
   Wsparcie dla SERIAL_NONSTANDARD                         [   OK   ]
   Wsparcie dla N_HDLC                                     [ MODULE ]
 Wlaczenie obslugi USB                                     [ MODULE ]
   Wsparcie dla systemu plikow USB                         [   OK   ]
Testowanie obecnosci modulow w /lib/modules/2.6.11:
  Sprawdzam: ppp_generic.*                                 [   OK   ]
  Sprawdzam: ppp_deflate.*                                 [   OK   ]
  Sprawdzam: ppp_synctty.*                                 [   OK   ]
  Sprawdzam: ppp_async.*                                   [   OK   ]
  Sprawdzam: n_hdlc.*                                      [   OK   ]
  Sprawdzam: TUN.*                                         [   OK   ]
  Sprawdzam: usbcore.*                                     [   OK   ]
Demon PPPD                                                 [   OK   ]

***********************************************************************

Twoj system jest przygotowany do pracy z modemem ST330.
Jeszcze nie podlaczaj swojego modemu!

Teraz konfigurator przekopiuje sterowniki do modemu
do wlasciwych katalogow i je zainstaluje.

Gotowy? To nacisnij ENTER ...

Kopiowanie plikow ...
 speedtouch-1.3.1.tar.gz do /usr/src                       [   OK   ]
 SpeedTouch330_firmware_3012.zip do /usr/src               [   OK   ]
Pozpakowanie sterownika                                    [   OK   ]
Rozpakowanie firmware\\'u                                    [   OK   ]
***********************************************************************
Pliki gotowe do kompilacji                                 [   OK   ]

***********************************************************************

Teraz instalator skompiluje kod sterowika ...                                                                
Nacisnij ENTER ...

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for alarm... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkfifo... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for pthread_create in -lpthread... yes
checking for rpm... /usr/src/rpm
configure: creating ./config.status
config.status: creating Makefile
config.status: creating VERSION
config.status: creating src/Makefile
config.status: creating hotplug/Makefile
config.status: creating doc-linux/Makefile
config.status: creating doc-bsd/Makefile
config.status: creating speedtouch.spec

 Konfiguracja                                              [   OK   ]
***********************************************************************
cd src && make
make[1]: Entering directory `/usr/src/speedtouch-1.3.1/src\\'
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\\"\\"1.3.1\\"\\" -c firmware.c
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\\"\\"1.3.1\\"\\" -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -DVERSION=\\"\\"1.3.1\\"\\" -c modem_run.c
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -D_REENTRANT -D_THREAD_SAFE -DVERSION=\\"\\"1.3.1\\"\\" -c crc.c
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\\"\\"1.3.1\\"\\" -c smallsem.c
gcc -O2   -c -o mutex.o mutex.c
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 firmware.o pusb.o modem_run.o crc.o smallsem.o mutex.o  -o modem_run
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -DVERSION=\\"\\"1.3.1\\"\\" -c pppoa2.c
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -D_REENTRANT -D_THREAD_SAFE -DVERSION=\\"\\"1.3.1\\"\\" -c atm.c
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 pusb.o pppoa2.o crc.o atm.o smallsem.o  -o pppoa2
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -D_REENTRANT -D_THREAD_SAFE -DVERSION=\\"\\"1.3.1\\"\\" -c pppoa3.c
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 pusb.o pppoa3.o crc.o atm.o -pthread  -o pppoa3
rm -f speedtouch-setup speedtouch-setup.tmp
sed -e \\'s,@bindir@,/usr/local/bin,g\\' -e \\'s,@sbindir@,/usr/local/sbin,g\\' -e \\'s,@sysconfdir@,/etc,g\\' < speedtouch-setup.in > speedtouch-setup.tmp
chmod a+x speedtouch-setup.tmp
mv speedtouch-setup.tmp speedtouch-setup
rm -f speedtouch-start speedtouch-start.tmp
sed -e \\'s,@bindir@,/usr/local/bin,g\\' -e \\'s,@sbindir@,/usr/local/sbin,g\\' -e \\'s,@sysconfdir@,/etc,g\\' < speedtouch-start.in > speedtouch-start.tmp
chmod a+x speedtouch-start.tmp
mv speedtouch-start.tmp speedtouch-start
rm -f speedtouch-stop speedtouch-stop.tmp
sed -e \\'s,@bindir@,/usr/local/bin,g\\' -e \\'s,@sbindir@,/usr/local/sbin,g\\' -e \\'s,@sysconfdir@,/etc,g\\' < speedtouch-stop.in > speedtouch-stop.tmp
chmod a+x speedtouch-stop.tmp
mv speedtouch-stop.tmp speedtouch-stop
cp modem_run pppoa2 pppoa3 speedtouch-setup speedtouch-start speedtouch-stop \\"/usr/src/speedtouch-1.3.1/bin\\"
make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/src\\'
cd hotplug && make
make[1]: Entering directory `/usr/src/speedtouch-1.3.1/hotplug\\'
rm -f speedtouch speedtouch.tmp
sed -e \\'s,@bindir@,/usr/local/bin,g\\' -e \\'s,@sbindir@,/usr/local/sbin,g\\' < speedtouch.in > speedtouch.tmp
chmod a+x speedtouch.tmp
mv speedtouch.tmp speedtouch
make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/hotplug\\'
-------------------------------------------------------------
Driver for the SpeedTouch USB and SpeedTouch 330 is compiled

To install it, type as root:

make install
-------------------------------------------------------------

Kompilacja                                                 [   OK   ]
***********************************************************************
cd src && make
make[1]: Entering directory `/usr/src/speedtouch-1.3.1/src\\'
make[1]: Nie nic do roboty w `all\\'.
make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/src\\'
cd hotplug && make
make[1]: Entering directory `/usr/src/speedtouch-1.3.1/hotplug\\'
make[1]: Nie nic do roboty w `all\\'.
make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/hotplug\\'
-------------------------------------------------------------
Driver for the SpeedTouch USB and SpeedTouch 330 is compiled

To install it, type as root:

make install
-------------------------------------------------------------
Installing the Speedtouch USB driver ...
test -d \\"/usr/local/sbin\\" || /usr/bin/install -c -c -d \\"/usr/local/sbin\\"
make modem_run pppoa2 pppoa3
make[1]: Entering directory `/usr/src/speedtouch-1.3.1\\'
Installing the modem_run program ...
/usr/bin/install -c -m 0755 -o root bin/modem_run \\"/usr/local/sbin\\"
Installing the pppoa2 ppp pty slave ...
/usr/bin/install -c -m 0755 -o root bin/pppoa2  \\"/usr/local/sbin\\"
Installing the pppoa3 ppp pty slave ...
/usr/bin/install -c -m 0755 -o root bin/pppoa3  \\"/usr/local/sbin\\"
make[1]: Leaving directory `/usr/src/speedtouch-1.3.1\\'
Installing man pages ...
cd \\"/usr/src/speedtouch-1.3.1/doc-linux\\" && make install
make[1]: Entering directory `/usr/src/speedtouch-1.3.1/doc-linux\\'
/usr/bin/install -c -m 0644 -o root man/speedtouch-setup.1 \\"/usr/local/man/man1\\"
/usr/bin/install -c -m 0644 -o root man/speedtouch-start.1 \\"/usr/local/man/man1\\"
/usr/bin/install -c -m 0644 -o root man/speedtouch-stop.1  \\"/usr/local/man/man1\\"
/usr/bin/install -c -m 0644 -o root man/modem_run.8 \\"/usr/local/man/man8\\"
/usr/bin/install -c -m 0644 -o root man/pppoa2.8    \\"/usr/local/man/man8\\"
/usr/bin/install -c -m 0644 -o root man/pppoa3.8    \\"/usr/local/man/man8\\"
/usr/bin/install -c -m 0644 -o root adsl.ppp-peersample \\"/usr/local/share/doc/speedtouch\\"
/usr/bin/install -c -m 0644 -o root speedtouch.sh       \\"/usr/local/share/doc/speedtouch\\"
/usr/bin/install -c -m 0644 -o root speedtouch.conf     \\"/usr/local/share/doc/speedtouch\\"
/usr/bin/install -c -m 0644 -o root FAQ                 \\"/usr/local/share/doc/speedtouch\\"
/usr/bin/install -c -m 0644 -o root BUGS                \\"/usr/local/share/doc/speedtouch\\"
/usr/bin/install -c -m 0644 -o root HDLC_BUG            \\"/usr/local/share/doc/speedtouch\\"
/usr/bin/install -c -m 0644 -o root results.txt         \\"/usr/local/share/doc/speedtouch\\"
/usr/bin/install -c -m 0644 -o root pppoax-doc-en.txt   \\"/usr/local/share/doc/speedtouch\\"
/usr/bin/install -c -m 0644 -o root pppoax-doc-fr.txt   \\"/usr/local/share/doc/speedtouch\\"
/usr/bin/install -c -m 0644 -o root howto/SpeedTouch-HOWTO-en.html \\"/usr/local/share/doc/speedtouch/howto\\"
/usr/bin/install -c -m 0644 -o root howto/SpeedTouch-HOWTO-fr.html \\"/usr/local/share/doc/speedtouch/howto\\"
/usr/bin/install -c -m 0644 -o root howto/SpeedTouch-HOWTO-de.html \\"/usr/local/share/doc/speedtouch/howto\\"
/usr/bin/install -c -m 0644 -o root howto/SpeedTouch-HOWTO-it.html \\"/usr/local/share/doc/speedtouch/howto\\"
make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/doc-linux\\'
Installing the boot block for speedtouch usb rev [1|2|3] ...
test -d \\"/usr/local/share/speedtouch\\" || /usr/bin/install -c -c -d \\"/usr/local/share/speedtouch\\"
/usr/bin/install -c -m 0644 -o root src/boot.v123.bin \\"/usr/local/share/speedtouch\\"
cd hotplug && make install
make[1]: Entering directory `/usr/src/speedtouch-1.3.1/hotplug\\'
if [ -d /etc/hotplug ]; then
        /usr/bin/install -c                        -d \\"/etc/hotplug/usb/\\"   ;
  /usr/bin/install -c -m 755 speedtouch         \\"/etc/hotplug/usb/\\"   ;
        /usr/bin/install -c -m 644 speedtouch.usermap \\"/etc/hotplug/usb/\\"   ;
fi
make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/hotplug\\'
cd src && make install
make[1]: Entering directory `/usr/src/speedtouch-1.3.1/src\\'
/usr/bin/install -c -d \\"/usr/local/bin\\"
/usr/bin/install -c -m 0755 speedtouch-setup \\"/usr/local/bin\\"
/usr/bin/install -c -m 0755 speedtouch-start \\"/usr/local/bin\\"
/usr/bin/install -c -m 0755 speedtouch-stop  \\"/usr/local/bin\\"
/usr/bin/install -c -d \\"/etc/speedtouch\\"
make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/src\\'

-------------------------------------------------------------
Driver for the SpeedTouch USB and SpeedTouch 330 is installed

The binaries (modem_run and pppoax) have been installed in :
          * /usr/local/sbin

You will find the documentation and example script files in :
          * /usr/local/share/doc/speedtouch

You can start configuring your modem by running
/usr/local/bin/speedtouch-setup

-------------------------------------------------------------

NB : Read the documentation carefully to use this driver correctly

Instalacja                                                 [   OK   ]
***********************************************************************

***********************************************************************

Teraz mozemy przystapic do konfiguracji naszego polaczenia z Internetem.
Konfigurator przygotuje teraz wszystkie niezbedne pliki konfiguracyjne.

Gotowy? To nacisnij ENTER ...

Konfiguracja plikow ...
 Plik /etc/ppp/options                                     [   OK   ]
 Plik /etc/ppp/chap-secrets                                [   OK   ]
 Plik /etc/ppp/pap-secrets                                 [   OK   ]
 Plik /etc/ppp/peers/net24                                 [   OK   ]
 Dopisanie do /etc/modules.conf                            [   OK   ]

***********************************************************************

Teraz juz mozna podlaczyc modem do portu USB.

Ostatnia faza konfiguracji to wskazanie wlasciwego pliku
firmware\\'u, jaki bedzie ladowany do Twojego modemu,
przy kazdym starcie uslugi NET24.

Po podlaczeniu modemu do portu USB nacisnij ENTER ...

Testowanie modulu obslugi portu USB: Użycie: grep [OPCJA]... WZORZEC [PLIK] ...
Napisz `grep --help\\' żeby dowiedzieć się więcej.
Usage: modprobe [-v] [-V] [-C config-file] [-n] [-i] [-q] [-o ] [parameters...]
modprobe -r [-n] [-i] [-v] ...
modprobe -l -t [ -a ...]
                                                           [   OK   ]
Modem SpeedTouch                                           [   OK   ]
Bus 001 Device 003: ID 06b9:4061 Alcatel Telecom Speed Touch ISDN or ADSL Modem
Wykryto nowy chipset                                       [   OK   ]
Plik konfiguracyjny modemu                                 [   OK   ]
./instalacja: line 1300: /etc/rc.d/rc.net24: Nie ma takiego pliku ani katalogu
Plik startowy uslugi                                       [   OK   ]
Nadawanie prawa wykonaniachmod: nie ma dostępu do `/etc/rc.d/rc.net24\\': Nie ma takiego pliku ani katalogu
                                                           [  BRAK  ]
Linkowanie do kalogu /usr/local/sbin                       [   OK   ]

**************************************************************
     Witamy w pierwszym uruchomieniu uslugi NET24
**************************************************************

Teraz zgodnie z instrukcja nalezy uruchomic modem poleceniem

#net24 start

Domyslny uzytkownik i haslo ustawione jest na Net24:Net24
oraz parametry linii ADSL ustawione sa VPI:8, VCI:35
i po rejestracji mozna je zmienic poprzez reczna modyfikuje
plikow startowych demona PPP znajdujacych sie w:

/etc/ppp/pap-secrets i /etc/ppp/chap-secrets

oraz modyfikujac plik: /etc/ppp/peers/net24

Mozna rowniez uruchomic skrypt: konfiguracja i caly proces
zmiany wartosci domyslnych linii oraz nazwy uzytkownika i hasla
zostanie przeprowadzony automatycznie.

Dziekujemy za wybranie modemu SpeedTouch ST330.
Do zobacznia w sieci ...

Zespol NET24.

jestem begginer w sprawach linuxa i nie wiem o co tu chodzi :| z gory dzieki za odpowiedzi

olmar

  • Gość
mam problem z e skryptami może mi ktoś pomoże ?
« Odpowiedź #1 dnia: 2005-08-18, 18:00:39 »
2005-07-01 00:00:03 w4rri0r3k napisał:

> zalezy mi by zainstalowac ta usluge na knoppixie 3.9 zainstalowanym na hd. korzystajac z opisu
 > zamieszczonego na stronie pomoc.x.pl nie doszlo to do skutku, a tu log:
 >
 > Witamy
 > Zapraszamy do instalacji oprogramowania dla modemu SpeedTouch ST330
 > dla potrzeb uruchomienia uslugi NET24.
 >
 > Nacisnij ENTER zeby kontynuowac ...
 >
 > Testowanie narzedzi do kompilacji                          [   OK   ]
 > Testowanie narzedzi do PCI                                 [   OK   ]
 > Testowanie obecnosci pakietu PPPOE                         [   OK   ]
 > Testowanie wsparcia dla USB                                [   OK   ]
 > Wersja kernela: 2.6.11                                     [   OK   ]
 > Testowanie pliku konfiguracyjnego kernela: .config         [   OK   ]
 >  Konfiguracja eksperymentalna                              [   OK   ]
 >    Wsparcie dla HOTPLUG                                    [   OK   ]
 >    Wsparcie dla TUN/TAP device                             [ MODULE ]
 >    Wsparcie dla PPP                                        [ MODULE ]
 >    Wsparcie dla PPP_ASYNC                                  [ MODULE ]
 >    Wsparcie dla PPP_SYNC_TTY                               [ MODULE ]
 >    Wsparcie dla PPP_DEFLATE                                [ MODULE ]
 >    Wsparcie dla SERIAL_NONSTANDARD                         [   OK   ]
 >    Wsparcie dla N_HDLC                                     [ MODULE ]
 >  Wlaczenie obslugi USB                                     [ MODULE ]
 >    Wsparcie dla systemu plikow USB                         [   OK   ]
 > Testowanie obecnosci modulow w /lib/modules/2.6.11:
 >   Sprawdzam: ppp_generic.*                                 [   OK   ]
 >   Sprawdzam: ppp_deflate.*                                 [   OK   ]
 >   Sprawdzam: ppp_synctty.*                                 [   OK   ]
 >   Sprawdzam: ppp_async.*                                   [   OK   ]
 >   Sprawdzam: n_hdlc.*                                      [   OK   ]
 >   Sprawdzam: TUN.*                                         [   OK   ]
 >   Sprawdzam: usbcore.*                                     [   OK   ]
 > Demon PPPD                                                 [   OK   ]
 >
 > ***********************************************************************
 >
 > Twoj system jest przygotowany do pracy z modemem ST330.
 > Jeszcze nie podlaczaj swojego modemu!
 >
 > Teraz konfigurator przekopiuje sterowniki do modemu
 > do wlasciwych katalogow i je zainstaluje.
 >
 > Gotowy? To nacisnij ENTER ...
 >
 > Kopiowanie plikow ...
 >  speedtouch-1.3.1.tar.gz do /usr/src                       [   OK   ]
 >  SpeedTouch330_firmware_3012.zip do /usr/src               [   OK   ]
 > Pozpakowanie sterownika                                    [   OK   ]
 > Rozpakowanie firmware\\'u                                    [   OK   ]
 > ***********************************************************************
 > Pliki gotowe do kompilacji                                 [   OK   ]
 >
 > ***********************************************************************
 >
 > Teraz instalator skompiluje kod sterowika ...                                                  
 >              
 > Nacisnij ENTER ...
 >
 > checking build system type... i686-pc-linux-gnu
 > checking host system type... i686-pc-linux-gnu
 > checking for gcc... gcc
 > checking for C compiler default output file name... a.out
 > checking whether the C compiler works... yes
 > checking whether we are cross compiling... no
 > checking for suffix of executables...
 > checking for suffix of object files... o
 > checking whether we are using the GNU C compiler... yes
 > checking whether gcc accepts -g... yes
 > checking for gcc option to accept ANSI C... none needed
 > checking whether make sets $(MAKE)... yes
 > checking for a BSD-compatible install... /usr/bin/install -c
 > checking how to run the C preprocessor... gcc -E
 > checking for egrep... grep -E
 > checking for ANSI C header files... yes
 > checking for sys/types.h... yes
 > checking for sys/stat.h... yes
 > checking for stdlib.h... yes
 > checking for string.h... yes
 > checking for memory.h... yes
 > checking for strings.h... yes
 > checking for inttypes.h... yes
 > checking for stdint.h... yes
 > checking for unistd.h... yes
 > checking stdio.h usability... yes
 > checking stdio.h presence... yes
 > checking for stdio.h... yes
 > checking for unistd.h... (cached) yes
 > checking fcntl.h usability... yes
 > checking fcntl.h presence... yes
 > checking for fcntl.h... yes
 > checking errno.h usability... yes
 > checking errno.h presence... yes
 > checking for errno.h... yes
 > checking time.h usability... yes
 > checking time.h presence... yes
 > checking for time.h... yes
 > checking signal.h usability... yes
 > checking signal.h presence... yes
 > checking for signal.h... yes
 > checking for stdlib.h... (cached) yes
 > checking termios.h usability... yes
 > checking termios.h presence... yes
 > checking for termios.h... yes
 > checking limits.h usability... yes
 > checking limits.h presence... yes
 > checking for limits.h... yes
 > checking stdarg.h usability... yes
 > checking stdarg.h presence... yes
 > checking for stdarg.h... yes
 > checking for string.h... (cached) yes
 > checking sys/resource.h usability... yes
 > checking sys/resource.h presence... yes
 > checking for sys/resource.h... yes
 > checking sys/ioctl.h usability... yes
 > checking sys/ioctl.h presence... yes
 > checking for sys/ioctl.h... yes
 > checking for sys/types.h... (cached) yes
 > checking for sys/stat.h... (cached) yes
 > checking sys/time.h usability... yes
 > checking sys/time.h presence... yes
 > checking for sys/time.h... yes
 > checking sys/param.h usability... yes
 > checking sys/param.h presence... yes
 > checking for sys/param.h... yes
 > checking sys/socket.h usability... yes
 > checking sys/socket.h presence... yes
 > checking for sys/socket.h... yes
 > checking syslog.h usability... yes
 > checking syslog.h presence... yes
 > checking for syslog.h... yes
 > checking for pid_t... yes
 > checking for size_t... yes
 > checking for an ANSI C-conforming const... yes
 > checking return type of signal handlers... void
 > checking for alarm... yes
 > checking for gettimeofday... yes
 > checking for memmove... yes
 > checking for memset... yes
 > checking for mkfifo... yes
 > checking for select... yes
 > checking for strdup... yes
 > checking for strerror... yes
 > checking for pthread_create in -lpthread... yes
 > checking for rpm... /usr/src/rpm
 > configure: creating ./config.status
 > config.status: creating Makefile
 > config.status: creating VERSION
 > config.status: creating src/Makefile
 > config.status: creating hotplug/Makefile
 > config.status: creating doc-linux/Makefile
 > config.status: creating doc-bsd/Makefile
 > config.status: creating speedtouch.spec
 >
 >  Konfiguracja                                              [   OK   ]
 > ***********************************************************************
 > cd src && make
 > make[1]: Entering directory `/usr/src/speedtouch-1.3.1/src\\'
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\\"\\"1.3.1\\"\\"
 > -c firmware.c
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\\"\\"1.3.1\\"\\"
 > -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG
 > -DVERSION=\\"\\"1.3.1\\"\\" -c modem_run.c
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -D_REENTRANT -D_THREAD_SAFE
 > -DVERSION=\\"\\"1.3.1\\"\\" -c crc.c
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\\"\\"1.3.1\\"\\"
 > -c smallsem.c
 > gcc -O2   -c -o mutex.o mutex.c
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 firmware.o pusb.o modem_run.o crc.o
 > smallsem.o mutex.o  -o modem_run
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG
 > -DVERSION=\\"\\"1.3.1\\"\\" -c pppoa2.c
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -D_REENTRANT -D_THREAD_SAFE
 > -DVERSION=\\"\\"1.3.1\\"\\" -c atm.c
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 pusb.o pppoa2.o crc.o atm.o smallsem.o
 > -o pppoa2
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -D_REENTRANT -D_THREAD_SAFE
 > -DVERSION=\\"\\"1.3.1\\"\\" -c pppoa3.c
 > gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 pusb.o pppoa3.o crc.o atm.o -pthread  -o
 > pppoa3
 > rm -f speedtouch-setup speedtouch-setup.tmp
 > sed -e \\'s,@bindir@,/usr/local/bin,g\\' -e \\'s,@sbindir@,/usr/local/sbin,g\\' -e
 > \\'s,@sysconfdir@,/etc,g\\' < speedtouch-setup.in > speedtouch-setup.tmp
 > chmod a+x speedtouch-setup.tmp
 > mv speedtouch-setup.tmp speedtouch-setup
 > rm -f speedtouch-start speedtouch-start.tmp
 > sed -e \\'s,@bindir@,/usr/local/bin,g\\' -e \\'s,@sbindir@,/usr/local/sbin,g\\' -e
 > \\'s,@sysconfdir@,/etc,g\\' < speedtouch-start.in > speedtouch-start.tmp
 > chmod a+x speedtouch-start.tmp
 > mv speedtouch-start.tmp speedtouch-start
 > rm -f speedtouch-stop speedtouch-stop.tmp
 > sed -e \\'s,@bindir@,/usr/local/bin,g\\' -e \\'s,@sbindir@,/usr/local/sbin,g\\' -e
 > \\'s,@sysconfdir@,/etc,g\\' < speedtouch-stop.in > speedtouch-stop.tmp
 > chmod a+x speedtouch-stop.tmp
 > mv speedtouch-stop.tmp speedtouch-stop
 > cp modem_run pppoa2 pppoa3 speedtouch-setup speedtouch-start speedtouch-stop
 > \\"/usr/src/speedtouch-1.3.1/bin\\"
 > make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/src\\'
 > cd hotplug && make
 > make[1]: Entering directory `/usr/src/speedtouch-1.3.1/hotplug\\'
 > rm -f speedtouch speedtouch.tmp
 > sed -e \\'s,@bindir@,/usr/local/bin,g\\' -e \\'s,@sbindir@,/usr/local/sbin,g\\' < speedtouch.in
 > > speedtouch.tmp
 > chmod a+x speedtouch.tmp
 > mv speedtouch.tmp speedtouch
 > make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/hotplug\\'
 > -------------------------------------------------------------
 > Driver for the SpeedTouch USB and SpeedTouch 330 is compiled
 >
 > To install it, type as root:
 >
 > make install
 > -------------------------------------------------------------
 >
 > Kompilacja                                                 [   OK   ]
 > ***********************************************************************
 > cd src && make
 > make[1]: Entering directory `/usr/src/speedtouch-1.3.1/src\\'
 > make[1]: Nie nic do roboty w `all\\'.
 > make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/src\\'
 > cd hotplug && make
 > make[1]: Entering directory `/usr/src/speedtouch-1.3.1/hotplug\\'
 > make[1]: Nie nic do roboty w `all\\'.
 > make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/hotplug\\'
 > -------------------------------------------------------------
 > Driver for the SpeedTouch USB and SpeedTouch 330 is compiled
 >
 > To install it, type as root:
 >
 > make install
 > -------------------------------------------------------------
 > Installing the Speedtouch USB driver ...
 > test -d \\"/usr/local/sbin\\" || /usr/bin/install -c -c -d \\"/usr/local/sbin\\"
 > make modem_run pppoa2 pppoa3
 > make[1]: Entering directory `/usr/src/speedtouch-1.3.1\\'
 > Installing the modem_run program ...
 > /usr/bin/install -c -m 0755 -o root bin/modem_run \\"/usr/local/sbin\\"
 > Installing the pppoa2 ppp pty slave ...
 > /usr/bin/install -c -m 0755 -o root bin/pppoa2  \\"/usr/local/sbin\\"
 > Installing the pppoa3 ppp pty slave ...
 > /usr/bin/install -c -m 0755 -o root bin/pppoa3  \\"/usr/local/sbin\\"
 > make[1]: Leaving directory `/usr/src/speedtouch-1.3.1\\'
 > Installing man pages ...
 > cd \\"/usr/src/speedtouch-1.3.1/doc-linux\\" && make install
 > make[1]: Entering directory `/usr/src/speedtouch-1.3.1/doc-linux\\'
 > /usr/bin/install -c -m 0644 -o root man/speedtouch-setup.1 \\"/usr/local/man/man1\\"
 > /usr/bin/install -c -m 0644 -o root man/speedtouch-start.1 \\"/usr/local/man/man1\\"
 > /usr/bin/install -c -m 0644 -o root man/speedtouch-stop.1  \\"/usr/local/man/man1\\"
 > /usr/bin/install -c -m 0644 -o root man/modem_run.8 \\"/usr/local/man/man8\\"
 > /usr/bin/install -c -m 0644 -o root man/pppoa2.8    \\"/usr/local/man/man8\\"
 > /usr/bin/install -c -m 0644 -o root man/pppoa3.8    \\"/usr/local/man/man8\\"
 > /usr/bin/install -c -m 0644 -o root adsl.ppp-peersample
 > \\"/usr/local/share/doc/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root speedtouch.sh      
 > \\"/usr/local/share/doc/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root speedtouch.conf    
 > \\"/usr/local/share/doc/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root FAQ                
 > \\"/usr/local/share/doc/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root BUGS              
 > \\"/usr/local/share/doc/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root HDLC_BUG          
 > \\"/usr/local/share/doc/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root results.txt        
 > \\"/usr/local/share/doc/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root pppoax-doc-en.txt  
 > \\"/usr/local/share/doc/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root pppoax-doc-fr.txt  
 > \\"/usr/local/share/doc/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root howto/SpeedTouch-HOWTO-en.html
 > \\"/usr/local/share/doc/speedtouch/howto\\"
 > /usr/bin/install -c -m 0644 -o root howto/SpeedTouch-HOWTO-fr.html
 > \\"/usr/local/share/doc/speedtouch/howto\\"
 > /usr/bin/install -c -m 0644 -o root howto/SpeedTouch-HOWTO-de.html
 > \\"/usr/local/share/doc/speedtouch/howto\\"
 > /usr/bin/install -c -m 0644 -o root howto/SpeedTouch-HOWTO-it.html
 > \\"/usr/local/share/doc/speedtouch/howto\\"
 > make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/doc-linux\\'
 > Installing the boot block for speedtouch usb rev [1|2|3] ...
 > test -d \\"/usr/local/share/speedtouch\\" || /usr/bin/install -c -c -d
 > \\"/usr/local/share/speedtouch\\"
 > /usr/bin/install -c -m 0644 -o root src/boot.v123.bin \\"/usr/local/share/speedtouch\\"
 > cd hotplug && make install
 > make[1]: Entering directory `/usr/src/speedtouch-1.3.1/hotplug\\'
 > if [ -d /etc/hotplug ]; then
 >         /usr/bin/install -c                        -d \\"/etc/hotplug/usb/\\"   ;
 >   /usr/bin/install -c -m 755 speedtouch         \\"/etc/hotplug/usb/\\"   ;
 >         /usr/bin/install -c -m 644 speedtouch.usermap \\"/etc/hotplug/usb/\\"   ;
 > fi
 > make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/hotplug\\'
 > cd src && make install
 > make[1]: Entering directory `/usr/src/speedtouch-1.3.1/src\\'
 > /usr/bin/install -c -d \\"/usr/local/bin\\"
 > /usr/bin/install -c -m 0755 speedtouch-setup \\"/usr/local/bin\\"
 > /usr/bin/install -c -m 0755 speedtouch-start \\"/usr/local/bin\\"
 > /usr/bin/install -c -m 0755 speedtouch-stop  \\"/usr/local/bin\\"
 > /usr/bin/install -c -d \\"/etc/speedtouch\\"
 > make[1]: Leaving directory `/usr/src/speedtouch-1.3.1/src\\'
 >
 > -------------------------------------------------------------
 > Driver for the SpeedTouch USB and SpeedTouch 330 is installed
 >
 > The binaries (modem_run and pppoax) have been installed in :
 >           * /usr/local/sbin
 >
 > You will find the documentation and example script files in :
 >           * /usr/local/share/doc/speedtouch
 >
 > You can start configuring your modem by running
 > /usr/local/bin/speedtouch-setup
 >
 > -------------------------------------------------------------
 >
 > NB : Read the documentation carefully to use this driver correctly
 >
 > Instalacja                                                 [   OK   ]
 > ***********************************************************************
 >
 > ***********************************************************************
 >
 > Teraz mozemy przystapic do konfiguracji naszego polaczenia z Internetem.
 > Konfigurator przygotuje teraz wszystkie niezbedne pliki konfiguracyjne.
 >
 > Gotowy? To nacisnij ENTER ...
 >
 > Konfiguracja plikow ...
 >  Plik /etc/ppp/options                                     [   OK   ]
 >  Plik /etc/ppp/chap-secrets                                [   OK   ]
 >  Plik /etc/ppp/pap-secrets                                 [   OK   ]
 >  Plik /etc/ppp/peers/net24                                 [   OK   ]
 >  Dopisanie do /etc/modules.conf                            [   OK   ]
 >
 > ***********************************************************************
 >
 > Teraz juz mozna podlaczyc modem do portu USB.
 >
 > Ostatnia faza konfiguracji to wskazanie wlasciwego pliku
 > firmware\\'u, jaki bedzie ladowany do Twojego modemu,
 > przy kazdym starcie uslugi NET24.
 >
 > Po podlaczeniu modemu do portu USB nacisnij ENTER ...
 >
 > Testowanie modulu obslugi portu USB: Użycie: grep [OPCJA]... WZORZEC [PLIK] ...
 > Napisz `grep --help\\' żeby dowiedzieć się więcej.
 > Usage: modprobe [-v] [-V] [-C config-file] [-n] [-i] [-q] [-o ]
 > [parameters...]
 > modprobe -r [-n] [-i] [-v] ...
 > modprobe -l -t [ -a ...]
 >                                                            [   OK   ]
 > Modem SpeedTouch                                           [   OK   ]
 > Bus 001 Device 003: ID 06b9:4061 Alcatel Telecom Speed Touch ISDN or ADSL Modem
 > Wykryto nowy chipset                                       [   OK   ]
 > Plik konfiguracyjny modemu                                 [   OK   ]
 > ./instalacja: line 1300: /etc/rc.d/rc.net24: Nie ma takiego pliku ani katalogu
 > Plik startowy uslugi                                       [   OK   ]
 > Nadawanie prawa wykonaniachmod: nie ma dostępu do `/etc/rc.d/rc.net24\\': Nie ma takiego pliku
 > ani katalogu
 >                                                            [  BRAK  ]
 > Linkowanie do kalogu /usr/local/sbin                       [   OK   ]
 >
 > **************************************************************
 >      Witamy w pierwszym uruchomieniu uslugi NET24
 > **************************************************************
 >
 > Teraz zgodnie z instrukcja nalezy uruchomic modem poleceniem
 >
 > #net24 start
 >
 > Domyslny uzytkownik i haslo ustawione jest na Net24:Net24
 > oraz parametry linii ADSL ustawione sa VPI:8, VCI:35
 > i po rejestracji mozna je zmienic poprzez reczna modyfikuje
 > plikow startowych demona PPP znajdujacych sie w:
 >
 > /etc/ppp/pap-secrets i /etc/ppp/chap-secrets
 >
 > oraz modyfikujac plik: /etc/ppp/peers/net24
 >
 > Mozna rowniez uruchomic skrypt: konfiguracja i caly proces
 > zmiany wartosci domyslnych linii oraz nazwy uzytkownika i hasla
 > zostanie przeprowadzony automatycznie.
 >
 > Dziekujemy za wybranie modemu SpeedTouch ST330.
 > Do zobacznia w sieci ...
 >
 > Zespol NET24.
 >
 > jestem begginer w sprawach linuxa i nie wiem o co tu chodzi :| z gory dzieki za odpowiedzi

olmar

  • Gość
mam problem z e skryptami może mi ktoś pomoże ?
« Odpowiedź #2 dnia: 2005-08-18, 18:02:03 »
jako root           /usr/local/sbin/./net24 start

  • Gość
mam problem z e skryptami może mi ktoś pomoże ?
« Odpowiedź #3 dnia: 2005-06-30, 22:34:54 »
Musze to oddać na zaliczenie a nie mam pojęcia jak to zrobić , może ktoś mi to zrobi .
z góry dzieki
pozdrawiam
remik




• Utwórz skrypt, którego zadaniem jest zapisanie do pliku /home/system/proces.txt listy aktywnych procesów w systemie, oraz do pliku /home/system/user.txt listy zalogowanych użytkowników. Zapis tych informacji ma być wykonywany co godzine narastająco z informacją o dacie i godzinie zapisu.

• Utwórz skrypt, którego zadaniem jest wymuszenie zmiany hasła przez wszystkich użytkowników *logowalnych* w dniu podanym jako parametr.

• Utwórz skrypt, którego zadaniem jest wymuszenie zmiany hasła za 2 dni dowolnej grupie użytkowników podanych jako parametr, sprawdzając wcześniej czy dany użytkownik jest *logowalny*.

• Utwórz skrypt, którego zadaniem jest zapisanie do pliku tekstowego /home/system/hasla.txt nazwy użytkownika, UID oraz daty zmiany hasła wszystkich użytkowników, którzy nie zmienili hasła w wymaganym terminie.

• Utwórz skrypt, którego zadaniem jest:
-utworzenie dowolnej ilości użytkowników należących do grupy podanej jako parametr o folderze roboczym /home/**nazwa grupy**/**nazwa użytkownika**,
- utworzenie folderu roboczego /home/**nazwa grupy**/**nazwa użytkownika**
- nadanie pełnych praw wszystkim członkom grupy do folderu /home/**nazwa grupy**, oraz indywidualnych praw wyłącznych do folderu /home/**nazwa grupy**/**nazwa użytkownika**,
- zadeklarowanie wszystkim użytkownikom haseł zapisanych wcześniej w pliku tekstowym hasla.txt

• Utwórz skrypt, którego zadaniem jest zapisywanie w odstępach godzinnych do pliku /home/system/limity.txt nazw wszystkich użykowników którzy przekroczyli limity dyskowe zadeklarowane na partcji *hda5* zamontowanej jako /home wraz datą i godziną zapisu oraz wielkością przekroczenia limitu i czasem pobłażliwości.



xis

  • Gość
mam problem z e skryptami może mi ktoś pomoże ?
« Odpowiedź #4 dnia: 2005-06-30, 22:43:48 »
2005-06-30 22:34:54 remic76 napisał:

> Musze to oddać na zaliczenie a nie mam pojęcia jak to zrobić , może ktoś mi to zrobi .
 > z góry dzieki
 > pozdrawiam
 > remik
 >
 >
http://newbie.linux.pl/?id=forum&show=post&post=71631

Nie rozwiązujemy zadań domowych. Jak nie umiesz to zaplać komuś, niech Ci zrobi, a nie szukasz naiwniaków.

Maciek_Rutecki

  • Gość
mam problem z e skryptami może mi ktoś pomoże ?
« Odpowiedź #5 dnia: 2005-07-01, 14:36:55 »
2005-06-30 22:34:54 remic76 napisał:

> Musze to oddać na zaliczenie a nie mam pojęcia jak to zrobić , może ktoś mi to zrobi .
 > z góry dzieki
 > pozdrawiam
 > remik
 
To forum nie sluzy rozwiazywaniu prac domowych. Ponadto byscie sie zgadali wszyscy w grupie, bo jak po raz kolejny zobacze te same pytania, to nie recze za siebie....