Neostrada, Ubuntu 7.10/8.04 - nie można się połączyć

Witam :slight_smile:

Mam problem z nowo zainstalowanym Ubuntu 8.04 64-bit. Używam modemu sagem 800 E2T w usłudze neostrada i gdy próbuję połączyć się za pomocą UBUDSL (próbowałem wersji 0.5 oraz 0.9), lub też za pomocą starego, dobrego UbuNEO dla 7.04 to ciągle widnieje status: ŁĄCZENIE i nic nie mogę z tym zrobić… Obydwie diody na modemie się świecą - sterowniki prawdopodobnie też działają OK, bo przy starcie systemu diodka ADSL mruga tak jak powinna. Wywaliłem to wszystko i spróbowałem innej metody - ręczna instalacja eagle-usb. Tutaj napotkałem jednak inny problem - pod koniec procesu ./configure wyskakiwał komunikat “error: kernel-sources cannot be found!”. Spróbowałem więc kompilować nowy kernel - niestety błąd ciągle ten sam. Doinstalowałem pakiety linux-headers (dla mojej wersji systemu) i linux-sources Synapticem. I nic… ciągle to samo. Nie wiem już co robić, prosze o pomoc :frowning: Dodam tylko, że na poprzedniej wersji Ubuntu 7.04 (32-bit) Internet śmigał elegancko na UbuNEO.

Pozdrawiam

Aidan , co prawda osobiście nie posiadam neostrady, natomiast poszperałem trochę w internecie. Wyczytałem, że eagle-usb to moduł jądra Linuksa.

Dawno nie korzystałem z Ubuntu, ale spróbuj zainstalować paczki:

sudo apt-get install kernel-headers kernel-devel

A później spróbować instalacji:

cd /sciezka/do/zrodel/programu/ && ./configure && make && make install

Witam, dzięki za szybką odpowiedź :slight_smile:

Próbowałem instalować kernel-headers i kernel-devel za pomocą konsoli ale wyskakuje:

aidan@linux-ubuntu:~$ sudo apt-get install kernel-headers kernel-devel 

Czytanie list pakietów... Gotowe

Budowanie drzewa zależności       

Reading state information... Gotowe

Pakiet kernel-headers nie ma dostępnej wersji, ale odnosi się do niego inny pakiet.

Zazwyczaj oznacza to, że pakietu brakuje, został zastąpiony przez inny

pakiet lub nie jest dostępny przy pomocy obecnie ustawionych źródeł.

E: Pakiet kernel-headers nie ma kandydata do instalacji

A gdy próbuję pobrać sam kernel-devel:

aidan@linux-ubuntu:~$ sudo apt-get install kernel-devel

Czytanie list pakietów... Gotowe

Budowanie drzewa zależności       

Reading state information... Gotowe

E: Nie udało się odnaleźć pakietu kernel-devel

Zmieniłem trochę komendy i:

aidan@linux-ubuntu:~$ sudo apt-get install linux-headers linux-devel 

Czytanie list pakietów... Gotowe

Budowanie drzewa zależności       

Reading state information... Gotowe

Pakiet linux-headers jest pakietem wirtualnym zapewnianym przez:

  linux-headers-2.6.25.4 pierwszykernel1

  linux-headers-2.6.24-16-xen 2.6.24-16.30

  linux-headers-2.6.24-16-server 2.6.24-16.30

  linux-headers-2.6.24-16-rt 2.6.24-16.30

  linux-headers-2.6.24-16-openvz 2.6.24-16.30

  linux-headers-2.6.24-16-generic 2.6.24-16.30

  linux-headers-2.6.24-16 2.6.24-16.30

Należy jednoznacznie wybrać jeden z nich do instalacji.

E: Pakiet linux-headers nie ma kandydata do instalacji

Spory bajzel, bo właściwie próbowałem już wrzucać tam wszystko, a error ciągle ten sam :frowning:

Hmmm… Masz rację, daawno nie siedziałem pod Ubuntu.

apt-get install linux-headers-`uname -r`

.

Teraz powinno ruszyć. Poddajesz program kompilacji. Jeśli nie działa, dajesz log.

To teraz będzie najciekawsze :slight_smile:

aidan@linux-ubuntu:~$ sudo apt-get install linux-headers-`uname -r` 

Czytanie list pakietów... Gotowe

Budowanie drzewa zależności       

Reading state information... Gotowe

linux-headers-2.6.24-16-generic jest już w najnowszej wersji.

Kurcze, w takim razie dlaczego ./configure dla eagle-usb twierdzi, że tego nie ma? :confused:

A co dokładnie pokazuje configure?

Oto cała treść procesu ./configure

aidan@linux-ubuntu:~/Pulpit/eagle-usb-2.3.2$ sudo ./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

checking for xsltproc... yes

   ***libxslt-proc package is missing, keeping prebuild version***

checking for kernel version... not found 

checking for ifup... 1

checking for adictrl... no

checking for eaglectrl... no

checking for showstat... no

checking for eaglestat... no

checking for startadsl... no

checking for stopadsl... no

configure: creating ./config.status

config.status: creating Makefile.common

config.status: executing default commands


========================================================================

distribution detected Debian


dhcp support dhclient


pppd support yes

  pppoa support yes

  pppoe support yes


install eagleconnect (tcl/tk frontend) yes


generate documentation no

========================================================================


error: kernel-sources cannot be found!

Aidan , nie używaj sudo przy ./configure.

Nie mogę inaczej. Bez sudo wyskakuje

aidan@linux-ubuntu:~/Pulpit/eagle-usb-2.3.2$ ./configure

./configure: line 975: config.log: Permission denied

:wink: