Skocz do zawartości

Uruchomienie Internetu Na Fedora 12


Borys666

Rekomendowane odpowiedzi

Witam,

Od razu napisze, ze jestem "świeżakiem" jesli chodzi o Linuxa ;p

Bawilem sie Fedora 12 i nie moge uruchomic internetu poprzez modem speedtouch 330 (linia Netii - Net24).

 

Probowalem uruchomic poprzez linneta, ale wyskakuje komunikat, ze nie mam zainstalowanego gcc :/

gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC)

Przedstawiam jeszcze log z linneta. Nie wiem ale nie wykrywa gcc :(

root@localhost Pobrane]# ./linnet -i
_ _				  _	  ___   _
| (_)_ __  _ __   ___| |_   / _ \ / |
| | | '_ \| '_ \ / _ \ __| | | | || |
| | | | | | | | |  __/ |_  | |_| || |
|_|_|_| |_|_| |_|\___|\__|  \___(_)_|
Strona projektu: www.linnet.cba.pl

Opcje instalacyjne. Wybierz wlasciwa:
1-Sprawdzenie systemu czy jest gotowy do instalacji
2-Instalacja(modemu+konfiguracja polaczenia)
3-Instalacja(modemu)
4-Instalacja(konfiguracja polaczenia)
1
Wersja jadra: 2.6.31.5-127.fc12.x86_64 OK
Program ppp: OK
Program gcc*: Nie zainstalowany.
Program make: OK
gcc i make sa wymagane gdy mamy zxdsl wersja 2
System jest gotowy do instalacji.
System nie jest gotowy do instalacji modemu zxdsl werja 2.
*** stack smashing detected ***: ./linnet terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f937be9cea7]
/lib64/libc.so.6(__fortify_fail+0x0)[0x7f937be9ce70]
./linnet[0x4047df]
./linnet[0x4057b2]
./linnet[0x402e64]
./linnet[0x402caa]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f937bdc4b1d]
./linnet[0x401299]
======= Memory map: ========
00400000-00408000 r-xp 00000000 08:11 474085							 /home/user/Pobrane/linnet
00607000-00608000 r--p 00007000 08:11 474085							 /home/user/Pobrane/linnet
00608000-00609000 rw-p 00008000 08:11 474085							 /home/user/Pobrane/linnet
01554000-01575000 rw-p 00000000 00:00 0								  [heap]
7f937bda6000-7f937bf15000 r-xp 00000000 08:11 422618					 /lib64/libc-2.11.so
7f937bf15000-7f937c114000 ---p 0016f000 08:11 422618					 /lib64/libc-2.11.so
7f937c114000-7f937c118000 r--p 0016e000 08:11 422618					 /lib64/libc-2.11.so
7f937c118000-7f937c119000 rw-p 00172000 08:11 422618					 /lib64/libc-2.11.so
7f937c119000-7f937c11e000 rw-p 00000000 00:00 0 
7f937c11e000-7f937c134000 r-xp 00000000 08:11 421826					 /lib64/libgcc_s-4.4.2-20091027.so.1
7f937c134000-7f937c333000 ---p 00016000 08:11 421826					 /lib64/libgcc_s-4.4.2-20091027.so.1
7f937c333000-7f937c334000 rw-p 00015000 08:11 421826					 /lib64/libgcc_s-4.4.2-20091027.so.1
7f937c334000-7f937c3b7000 r-xp 00000000 08:11 422626					 /lib64/libm-2.11.so
7f937c3b7000-7f937c5b6000 ---p 00083000 08:11 422626					 /lib64/libm-2.11.so
7f937c5b6000-7f937c5b7000 r--p 00082000 08:11 422626					 /lib64/libm-2.11.so
7f937c5b7000-7f937c5b8000 rw-p 00083000 08:11 422626					 /lib64/libm-2.11.so
7f937c5b8000-7f937c6ab000 r-xp 00000000 08:11 398239					 /usr/lib64/libstdc++.so.6.0.13
7f937c6ab000-7f937c8ab000 ---p 000f3000 08:11 398239					 /usr/lib64/libstdc++.so.6.0.13
7f937c8ab000-7f937c8b2000 r--p 000f3000 08:11 398239					 /usr/lib64/libstdc++.so.6.0.13
7f937c8b2000-7f937c8b4000 rw-p 000fa000 08:11 398239					 /usr/lib64/libstdc++.so.6.0.13
7f937c8b4000-7f937c8c9000 rw-p 00000000 00:00 0 
7f937c8c9000-7f937c8e7000 r-xp 00000000 08:11 422611					 /lib64/ld-2.11.so
7f937cac4000-7f937cac8000 rw-p 00000000 00:00 0 
7f937cae3000-7f937cae6000 rw-p 00000000 00:00 0 
7f937cae6000-7f937cae7000 r--p 0001d000 08:11 422611					 /lib64/ld-2.11.so
7f937cae7000-7f937cae8000 rw-p 0001e000 08:11 422611					 /lib64/ld-2.11.so
7f937cae8000-7f937cae9000 rw-p 00000000 00:00 0 
7fffd292d000-7fffd2942000 rw-p 00000000 00:00 0						  [stack]
7fffd29ff000-7fffd2a00000 r-xp 00000000 00:00 0						  [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0				  [vsyscall]
Przerwane (core dumped)
[root@localhost Pobrane]#

 

Dodatkowo znalazlem fajny poradnik na jednym z for ale w pewnym momecie wyskakuje mi dziwny komunikat.

Stosowalem sie do poradnika z http://www.videoaudio.pl/forum/index.php?showtopic=4400 i zatrzymalem sie na punkcie 13

13. Wykonujemy polecenie

KOD

speedtouch-setup --pppoe

na samym koncu wyskakuje przekierowanie w linii 559

 

[root@localhost speedtouch-1.3.1]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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... /root/rpmbuild
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

[root@localhost speedtouch-1.3.1]# make
cd src && make 
make[1]: Wejście do katalogu `/root/speedtouch-1.3.1/src'
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 "/root/speedtouch-1.3.1/bin"
make[1]: Opuszczenie katalogu `/root/speedtouch-1.3.1/src'
cd hotplug && make
make[1]: Wejście do katalogu `/root/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]: Opuszczenie katalogu `/root/speedtouch-1.3.1/hotplug'
-------------------------------------------------------------
Driver for the SpeedTouch USB and SpeedTouch 330 is compiled

To install it, type as root:

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

[root@localhost speedtouch-1.3.1]# make install
cd src && make 
make[1]: Wejście do katalogu `/root/speedtouch-1.3.1/src'
cp modem_run pppoa2 pppoa3 speedtouch-setup speedtouch-start speedtouch-stop "/root/speedtouch-1.3.1/bin"
make[1]: Opuszczenie katalogu `/root/speedtouch-1.3.1/src'
cd hotplug && make
make[1]: Wejście do katalogu `/root/speedtouch-1.3.1/hotplug'
make[1]: Nie ma nic do zrobienia w `all'.
make[1]: Opuszczenie katalogu `/root/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]: Wejście do katalogu `/root/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]: Opuszczenie katalogu `/root/speedtouch-1.3.1'
Installing man pages ...
cd "/root/speedtouch-1.3.1/doc-linux" && make install
make[1]: Wejście do katalogu `/root/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]: Opuszczenie katalogu `/root/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]: Wejście do katalogu `/root/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]: Opuszczenie katalogu `/root/speedtouch-1.3.1/hotplug'
cd src && make install
make[1]: Wejście do katalogu `/root/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]: Opuszczenie katalogu `/root/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
[root@localhost speedtouch-1.3.1]# 
[root@localhost]# speedtouch-setup --pppoe
PPPD Configuration Script for GNU/Linux

Archive:  SpeedTouch330_firmware_3012.zip
 inflating: KQD6_3.012			  
 inflating: ZZZL_3.012			  
Login	: *****
Password : *****

You will be prompted for your Vpi Vci,
Here are some working values but your configuration may differ

+----------------+-----+-----+
|	Country	 | VPI | VCI |
+----------------+-----------+
|Belgium, ?	  |   8 |  35 |
+----------------+-----------+
|Denmark, Orange |   8 |  35 |
+----------------+-----------+
|France, wanadoo |   8 |  35 |
+----------------+-----------+
|France, ?	   |   8 |  67 |
+----------------+-----------+
|Italy, ?		|   8 |  35 |
+----------------+-----------+
|Netherlands, ?  |   8 |  48 |
+----------------+-----------+
|UK, BTopenworld |   0 |  38 |
+----------------+-----------+
|US, BellSouth   |   8 |  35 |
+----------------+-----------+

Your VPI	  : 8
Your VCI	  : 35
Do you want to overwrite /etc/ppp/peers/speedtouch-pppoa [y/n] ? y
Do you want to overwrite /etc/ppp/peers/speedtouch-pppoe [y/n] ? y
Generating /etc/ppp/peers/speedtouch-pppoa
Generating /etc/ppp/peers/speedtouch-pppoe
Generating /etc/speedtouch/speedtouch.conf
Saving old /etc/ppp/chap-secrets to /etc/ppp/chap-secrets.old
Saving old /etc/ppp/pap-secrets to /etc/ppp/pap-secrets.old
Removing old ***** entry from /etc/ppp/chap-secrets
Removing old ***** entry from /etc/ppp/pap-secrets
Adding new ****** entry to /etc/ppp/chap-secrets
Adding new ****** entry to /etc/ppp/pap-secrets
Adding ppp entries to your 
/usr/local/bin/speedtouch-setup: line 559: $MODULE_CONF: nieojednoznaczne przekierowanie

 

ta linia to: echo >> $MODULE_CONF

 

Prosze o pomoc.

Edytowane przez WalDo
znaczniki CODE → CODEBOX
Odnośnik do komentarza
Udostępnij na innych stronach

Sek w tym, ze mam zainstalowanego gcc, podalem log z konsoli z komenda gcc -v

 

gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC)

 

EDIT: zapomniałem, że borzole wrzucił już na wiki http://wiki.fedora.pl/wiki/Modem_SpeedTouch_330

Juz to sprawdzalem i u mnie nie dziala :/

Odnośnik do komentarza
Udostępnij na innych stronach

Przy linnecie i sprawdzaniu systemu pisze, ze nie ma gcc, a co za tym idzie nie moge poprawnie zainstalowac :/

 

Druga sprawa jest taka, ze stosowalem sie do poradnika z 1 postu (link) i po speedtouch-setup --pppoe nie dochodzi do pelnej kompilacji. Wyskakuje przekierowanie w lini 559 (/usr/local/bin/speedtouch-setup: line 559: $MODULE_CONF: nieojednoznaczne przekierowanie).

Odnośnik do komentarza
Udostępnij na innych stronach

Mam speedtouch 330.

 

borzole domyslam sie, ze jest pod neo, widzialem inne ustawienia, wiec je zdeczka zmodyfikowalem pod Netie, lecz nie zadzial :(

 

Wg mnie ten poradnik jest najbardziej kompatybilny (http://www.videoaudio.pl/forum/index.php?showtopic=4400) z Netia, jednak wyskakuje caly czas to przekierowanie :/

Odnośnik do komentarza
Udostępnij na innych stronach

Właściwie to z poważnych różnic jest tylko jedna, jeśli masz internet na linii od netii (jeśli masz internet od netii, ale na linni tp to konfiguracja wygląda identycznie) to trzeba użyć modułu pppoe.ko zamiast pppoatm.so. To, że dnsy są inne jest oczywiste. Trochę stary, ale działający poradnik jest tu http://forum.fedora.pl/index.php?showtopic=6475 (nie powinieneś odtwarzać wszystkich kroków tylko potrzebne, zwłaszcza te z konfiguracji, bo sterownik już masz).

Tak naprawdę to zamiast tracić nerwy na odlanie archaicznego sprzętu lepiej zainwestować kilkadziesiąt zł na router, bo ta inwestycja na pewno się zwróci.

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...