Nowe posty

xx Dystrybucja pod HP Omen (6)
Wczoraj o 23:30:08
xx [Poradnik] Wyszukiwanie Sterowników (2)
Wczoraj o 21:08:23
lamp Problem z Linux Lite po instalacji (0)
Wczoraj o 19:50:30
xx Ile pingwinów? (1)
Wczoraj o 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: Problem z internetem  (Przeczytany 4411 razy)

  • Gość
Problem z internetem
« dnia: 2009-08-25, 19:06:05 »
Postanowiłem posłużyć się programem "linnet" no i pojawiły się problemy podczas instalacji sterowników modemu:

chameleon linnet # ./linnet -i

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.28-11-generic OK
Program ppp: OK
Program gcc: OK
Program make: OK
gcc i make sa wymagane gdy mamy zxdsl wersja 2
System jest gotowy do instalacji.
System jest gotowy do instalacji modemu zxdsl werja 2.
Opcje instalacyjne. Wybierz wlasciwa:
1-Sprawdzenie systemu czy jest gotowy do instalacji
2-Instalacja(modemu+konfiguracja polaczenia)
3-Instalacja(modemu)
4-Instalacja(konfiguracja polaczenia)
2
Twoj modem to: ZXDSL wersja 2
/opt/linnet/src/unicorn_usbdrv.c:275: warning: ‘TNumberOfCarrier’ initialized and declared ‘extern’
make[2]: g++: Command not found
make[2]: *** [/opt/linnet/src/interruptmonitor.o] Error 127
make[1]: *** [_module_/opt/linnet] Error 2
make: *** [all] Error 2
install: cannot stat `unicorn_usb_eth.ko': No such file or directory
make: *** [install] Error 1
modinfo: could not find module unicorn_usb_eth
Brak modulu jadra dla unicorn_usb_eth
Nie znaleziono g++ a wydaje mi się, że g++ zawarte jest w gcc. Nie ma też modułu jądra - jak go załadować? Postanowiłem zainstalować sterowniki "eagle-usb-2.3.2" ale też coś nie pasi:

chameleon eagle-usb-2.3.2 # ./configure
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 for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether closedir returns void... no
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for alarm... yes
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strspn... yes
checking for strtol... yes
checking for ifconfig... yes
checking for route... yes
checking for pidof... yes
checking for dhclient... dhclient
checking for pppd... yes
checking for pppoe... yes
checking for tclsh... yes
checking for wish... yes
error: the build path should not contain spaces!
Current path is /opt/eagle-usb - 2.3.2/eagle-usb-2.3.2
Może ktoś zrobi tutorial dotyczący podłączania Linuxa do internetu i przyklei go, bo wiem że ilu użytkowników tyle różnych sposobów a jak na razie to mój największy problem.

alexs2

  • Gość
Problem z internetem
« Odpowiedź #1 dnia: 2009-08-25, 20:21:26 »
G++ to nie to samo co gcc, to dodatkowy kompilator C++.
W Ubuntu sprawę załatwi:
sudo apt-get install g++
W Twoim Mincie chyba jest tak samo.

Co do sprawy konfiguracji netu.
Zależy jakie połączenie.

W Ubuntu problem sprawia tylko net przez DSL. Zwykły ethernet, komórkowy łaczą się same szybciej niz w windowsie. Nie mam doświadczenia z wifi, tudzież z tv-kablowym, ale słyszałem, że jest ok.

U Ciebie widzę właśnie DSL. Wszyscy zalecają program ubuDSL. Jednemu sąsiadowi udało mi się zainstalować Neostradę w ten sposób.

www.ubudsl.com

benyo

  • Gość
Problem z internetem
« Odpowiedź #2 dnia: 2009-08-25, 20:40:45 »
Sprobuj zainstalowac nowsza wersje gcc (g++ jest czescia tego kompilatora) a takze mam nadzieje ze zgodnie z zaleceniem tworcy programu skopiowales firmware twojego modemu do katalogu z programem (oczywiscie rozpakowany)??

  • Gość
Problem z internetem
« Odpowiedź #3 dnia: 2009-08-25, 21:15:51 »
Odnośnie ubuDSL to słyszałem, że robi straszny syf w systemie i nie zawsze działa nawet w Ubuntu. Najpierw pomęcze sie troche z linnet i jakby nie poszło to wezme ubuDSL.

Firmware jest w tym samym katalogu ale nie był rozpakowany, bo jak próbowałem pierwszy raz to linnet szukał właśnie pakietu TGZ. Z tego co zauważyłem to go rozpakował, ale spróbuje z rozpakowanym, doinstaluje też najnowszy gcc i dam znać.

  • Gość
Problem z internetem
« Odpowiedź #4 dnia: 2009-08-26, 20:32:56 »
Problemów ciąg dalszy, dalej mam problem z linnet, bo nie moge zainstalować g++, może uda się ze sterownikami eagle. Listing odnośnie eagle jest wyżej teraz dorzucam kolejne polecenia (adres mac zmieniłem)

chameleon eagle-usb-2.3.2 # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:19 Base address:0xd800

eth0:avahi Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:169.254.5.46  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xd800

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:272 errors:0 dropped:0 overruns:0 frame:0
          TX packets:272 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:20368 (20.3 KB)  TX bytes:20368 (20.3 KB)
chameleon eagle-usb-2.3.2 # dhclient
There is already a pid file /var/run/dhclient.pid with pid 7385
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:00:00:00:00:00
Sending on   LPF/eth0/00:00:00:00:00:00
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
 * Reloading /etc/samba/smb.conf smbd only
No process in pidfile `/var/run/samba/smbd.pid' found running; none killed.
   ...done.
a tutaj problem podczas instalacji gcc

chameleon libstdc++-v3 # ./configure
configure: error: cannot find install-sh or install.sh in . ./.. ./../..

  • Gość
Problem z internetem
« Odpowiedź #5 dnia: 2009-09-01, 20:33:10 »
Znalazłem coś takiego
http://faq.eagle-usb.org/wakka.php?wiki=ModemSupport
http://dev.eagle-usb.org/wakka.php?wiki=TestEagleUs
Z tego wynika, że sterownik eagle nie działa z modemem ZXDSL. Spróbuje na Sagemie wg instrukcji.