PDA

View Full Version : Connessione Internet


Pringo
26-04-2008, 15:30
Ho Ubuntu Feisty Fawn 7.04. Modem Trust Md-3100 che viene riconosciuto da Linux come modem nella schermata delle periferiche. Il problema è che non sapendo usare Linux non so come connettermi a internet. P.s. ho la connessione Tiscali.Grazie
So che gia ci sono molti post su questo argomento ma non ci capisco niente quindi è meglio se me lo rispiegate da capo.Grazie

Lutra
26-04-2008, 16:14
Ho Ubuntu Feisty Fawn 7.04. Modem Trust Md-3100 che viene riconosciuto da Linux come modem nella schermata delle periferiche. Il problema è che non sapendo usare Linux non so come connettermi a internet. P.s. ho la connessione Tiscali.Grazie
So che gia ci sono molti post su questo argomento ma non ci capisco niente quindi è meglio se me lo rispiegate da capo.Grazie

il chipset dovrebbe essere un conexant uguale a quello di molti altri modem usb, come quello di questa guida

http://wiki.ubuntu-it.org/Hardware/Modem/DigicomMichelangeloUsbCx?highlight=%28michelangelo%29

quando puoi passa ad un modem ethernet o meglio ad un router/modem, tutto molto piú semplice e lineare.

Lutra
26-04-2008, 16:16
ps
per applicare la guida credo ti serva comunque una connessione ad internet attiva.

Lutra
26-04-2008, 16:17
So che gia ci sono molti post su questo argomento ma non ci capisco niente quindi è meglio se me lo rispiegate da capo.Grazie

tutto ok, non é comunque un buon motivo per non cercare piú a fondo. Ad esempio il wiki della propria distribuzione é sempre un grande bacino da cui attingere informazioni.

Pringo
26-04-2008, 17:09
grazie mille...sfruttero la connessione dal portatile dove ho windows..cio da dove scrivo ora e ti faro sapere com è andata...grazie

Pringo
26-04-2008, 20:09
mniente da fare mi da piu volte errore

Lutra
26-04-2008, 20:13
mniente da fare mi da piu volte errore

se non spieghi *esattamente* quale errore ti da e che procedura stai seguendo dubito ti si possa dare una mano.

Pringo
27-04-2008, 10:10
Spiego passo per passo i miei passaggi e i miei vari metodi di risoluzione:
1 metodo
collego il modem trust a internet sul portatile e con la lan lo collego al pc cosi da kubuntu scarico il file conexant-0.1.py e mi da questo errore:

--11:05:17-- http://www.webalice.it/lorenzo.chiodi/cxacru/utils.tar.gz
=> `utils.tar.gz'
Resolving www.webalice.it... 62.211.68.44
Connecting to www.webalice.it|62.211.68.44|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8,999 (8.8K) [application/x-tar]

100%[====================================>] 8,999 --.--K/s

11:05:17 (88.92 KB/s) - `utils.tar.gz' saved [8999/8999]

utils/
utils/Makefile
utils/COPYING
utils/cxacru-fw.c
utils/README
utils/cxacru-bp.c
cc cxacru-fw.c -o cxacru-fw
cxacru-fw.c:26:19: error: stdio.h: No such file or directory
cxacru-fw.c:27:19: error: fcntl.h: No such file or directory
cxacru-fw.c:28:20: error: unistd.h: No such file or directory
cxacru-fw.c:29:19: error: error.h: No such file or directory
cxacru-fw.c:30:18: error: argp.h: No such file or directory
cxacru-fw.c:31:20: error: stdint.h: No such file or directory
cxacru-fw.c:32:22: error: sys/stat.h: No such file or directory
cxacru-fw.c:33:22: error: sys/mman.h: No such file or directory
cxacru-fw.c:34:20: error: endian.h: No such file or directory
cxacru-fw.c:35:22: error: byteswap.h: No such file or directory
cxacru-fw.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le16_to_cpup’
cxacru-fw.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32_to_cpup’
cxacru-fw.c: In function ‘mmemmem’:
cxacru-fw.c:49: error: expected declaration specifiers before ‘size_t’
cxacru-fw.c:51: error: expected declaration specifiers before ‘size_t’
cxacru-fw.c:66: error: ‘NULL’ undeclared (first use in this function)
cxacru-fw.c:66: error: (Each undeclared identifier is reported only once
cxacru-fw.c:66: error: for each function it appears in.)
cxacru-fw.c: At top level:
cxacru-fw.c:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cxacru-fw.c:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘parse_opts’
cxacru-fw.c:227: error: variable ‘argp’ has initializer but incomplete type
cxacru-fw.c:227: warning: excess elements in struct initializer
cxacru-fw.c:227: warning: (near initialization for ‘argp’)
cxacru-fw.c:227: error: ‘parse_opts’ undeclared here (not in a function)
cxacru-fw.c:227: warning: excess elements in struct initializer
cxacru-fw.c:227: warning: (near initialization for ‘argp’)
cxacru-fw.c:227: warning: excess elements in struct initializer
cxacru-fw.c:227: warning: (near initialization for ‘argp’)
cxacru-fw.c:227: warning: excess elements in struct initializer
cxacru-fw.c:227: warning: (near initialization for ‘argp’)
cxacru-fw.c: In function ‘main’:
cxacru-fw.c:233: error: storage size of ‘instat’ isn’t known
cxacru-fw.c:234: error: ‘uint8_t’ undeclared (first use in this function)
cxacru-fw.c:234: error: ‘buf’ undeclared (first use in this function)
cxacru-fw.c:234: error: ‘fw’ undeclared (first use in this function)
cxacru-fw.c:237: error: ‘NULL’ undeclared (first use in this function)
cxacru-fw.c:239: error: ‘O_RDONLY’ undeclared (first use in this function)
cxacru-fw.c:241: error: ‘errno’ undeclared (first use in this function)
cxacru-fw.c:248: error: ‘PROT_READ’ undeclared (first use in this function)
cxacru-fw.c:248: error: ‘MAP_PRIVATE’ undeclared (first use in this function)
cxacru-fw.c:257: error: ‘O_WRONLY’ undeclared (first use in this function)
cxacru-fw.c:257: error: ‘O_CREAT’ undeclared (first use in this function)
cxacru-fw.c:257: error: ‘O_EXCL’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IRUSR’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IWUSR’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IRGRP’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IWGRP’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IROTH’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IWOTH’ undeclared (first use in this function)
cxacru-fw.c:267: warning: incompatible implicit declaration of built-in function ‘printf’
make: *** [cxacru-fw] Error 1
Qualcosa non ha funzionato
--11:05:18-- http://www.webalice.it/maestrifranco/CnxEtU.sys.tar.gz
=> `CnxEtU.sys.tar.gz'
Resolving www.webalice.it... 62.211.68.44
Connecting to www.webalice.it|62.211.68.44|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 308,600 (301K) [application/x-tar]

100%[====================================>] 308,600 230.41K/s

11:05:19 (230.06 KB/s) - `CnxEtU.sys.tar.gz' saved [308600/308600]

CnxEtU.sys
sh: ./cxacru-fw: not found
Traceback (most recent call last):
File "/home/giacomo/conexant-0.1.py", line 47, in <module>
shutil.copyfile(firmware,destinazione)
File "/usr/lib/python2.5/shutil.py", line 46, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '/home/giacomo/utils/cxacru-fw.bin'

allora pensando che il problema potesse essere il modem non collegato scarico i due file Makefile e cxacru-fw.c sccollego il modem dal portatile e lo connetto al pc al comando sudo make viene quest errore:


--11:05:17-- http://www.webalice.it/lorenzo.chiodi/cxacru/utils.tar.gz
=> `utils.tar.gz'
Resolving www.webalice.it... 62.211.68.44
Connecting to www.webalice.it|62.211.68.44|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8,999 (8.8K) [application/x-tar]

100%[====================================>] 8,999 --.--K/s

11:05:17 (88.92 KB/s) - `utils.tar.gz' saved [8999/8999]

utils/
utils/Makefile
utils/COPYING
utils/cxacru-fw.c
utils/README
utils/cxacru-bp.c
cc cxacru-fw.c -o cxacru-fw
cxacru-fw.c:26:19: error: stdio.h: No such file or directory
cxacru-fw.c:27:19: error: fcntl.h: No such file or directory
cxacru-fw.c:28:20: error: unistd.h: No such file or directory
cxacru-fw.c:29:19: error: error.h: No such file or directory
cxacru-fw.c:30:18: error: argp.h: No such file or directory
cxacru-fw.c:31:20: error: stdint.h: No such file or directory
cxacru-fw.c:32:22: error: sys/stat.h: No such file or directory
cxacru-fw.c:33:22: error: sys/mman.h: No such file or directory
cxacru-fw.c:34:20: error: endian.h: No such file or directory
cxacru-fw.c:35:22: error: byteswap.h: No such file or directory
cxacru-fw.c:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le16_to_cpup’
cxacru-fw.c:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘le32_to_cpup’
cxacru-fw.c: In function ‘mmemmem’:
cxacru-fw.c:49: error: expected declaration specifiers before ‘size_t’
cxacru-fw.c:51: error: expected declaration specifiers before ‘size_t’
cxacru-fw.c:66: error: ‘NULL’ undeclared (first use in this function)
cxacru-fw.c:66: error: (Each undeclared identifier is reported only once
cxacru-fw.c:66: error: for each function it appears in.)
cxacru-fw.c: At top level:
cxacru-fw.c:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cxacru-fw.c:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘parse_opts’
cxacru-fw.c:227: error: variable ‘argp’ has initializer but incomplete type
cxacru-fw.c:227: warning: excess elements in struct initializer
cxacru-fw.c:227: warning: (near initialization for ‘argp’)
cxacru-fw.c:227: error: ‘parse_opts’ undeclared here (not in a function)
cxacru-fw.c:227: warning: excess elements in struct initializer
cxacru-fw.c:227: warning: (near initialization for ‘argp’)
cxacru-fw.c:227: warning: excess elements in struct initializer
cxacru-fw.c:227: warning: (near initialization for ‘argp’)
cxacru-fw.c:227: warning: excess elements in struct initializer
cxacru-fw.c:227: warning: (near initialization for ‘argp’)
cxacru-fw.c: In function ‘main’:
cxacru-fw.c:233: error: storage size of ‘instat’ isn’t known
cxacru-fw.c:234: error: ‘uint8_t’ undeclared (first use in this function)
cxacru-fw.c:234: error: ‘buf’ undeclared (first use in this function)
cxacru-fw.c:234: error: ‘fw’ undeclared (first use in this function)
cxacru-fw.c:237: error: ‘NULL’ undeclared (first use in this function)
cxacru-fw.c:239: error: ‘O_RDONLY’ undeclared (first use in this function)
cxacru-fw.c:241: error: ‘errno’ undeclared (first use in this function)
cxacru-fw.c:248: error: ‘PROT_READ’ undeclared (first use in this function)
cxacru-fw.c:248: error: ‘MAP_PRIVATE’ undeclared (first use in this function)
cxacru-fw.c:257: error: ‘O_WRONLY’ undeclared (first use in this function)
cxacru-fw.c:257: error: ‘O_CREAT’ undeclared (first use in this function)
cxacru-fw.c:257: error: ‘O_EXCL’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IRUSR’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IWUSR’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IRGRP’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IWGRP’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IROTH’ undeclared (first use in this function)
cxacru-fw.c:258: error: ‘S_IWOTH’ undeclared (first use in this function)
cxacru-fw.c:267: warning: incompatible implicit declaration of built-in function ‘printf’
make: *** [cxacru-fw] Error 1
Qualcosa non ha funzionato
--11:05:18-- http://www.webalice.it/maestrifranco/CnxEtU.sys.tar.gz
=> `CnxEtU.sys.tar.gz'
Resolving www.webalice.it... 62.211.68.44
Connecting to www.webalice.it|62.211.68.44|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 308,600 (301K) [application/x-tar]

100%[====================================>] 308,600 230.41K/s

11:05:19 (230.06 KB/s) - `CnxEtU.sys.tar.gz' saved [308600/308600]

CnxEtU.sys
sh: ./cxacru-fw: not found
Traceback (most recent call last):
File "/home/giacomo/conexant-0.1.py", line 47, in <module>
shutil.copyfile(firmware,destinazione)
File "/usr/lib/python2.5/shutil.py", line 46, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '/home/giacomo/utils/cxacru-fw.bin'

grazie mille lutra che mi stai aiutando...

in una frase dice di istallare il build essential da adept...ho cercato su adept build essential non c'è ma c'è un build gnome modules è la stessa cosa??se no quale devo istallare

Pringo
27-04-2008, 12:48
l'errore l'ho risolto dovevo istallare il build essential...ho douto modificare tutti i gedit in kwrite e aggiungere sudo davanti a ogni comando e alla fine mi ha riconosciuto il modem con la frasetta Line Up ma quando vado a connettermi cn il comando sudo pppd comapre questo errore:
[sudo] password for giacomo:
pppd: /usr/lib/pppd/2.4.4b1/pppoatm.so: cannot open shared object file: No such file or directory
pppd: Couldn't load plugin /usr/lib/pppd/2.4.4b1/pppoatm.so
eppure il file l'ho trovato con locate e ho verificato che si trova nella cartella specifica...

Lutra
27-04-2008, 19:19
l'errore l'ho risolto dovevo istallare il build essential...ho douto modificare tutti i gedit in kwrite e aggiungere sudo davanti a ogni comando e alla fine mi ha riconosciuto il modem con la frasetta Line Up ma quando vado a connettermi cn il comando sudo pppd comapre questo errore:
[sudo] password for giacomo:
pppd: /usr/lib/pppd/2.4.4b1/pppoatm.so: cannot open shared object file: No such file or directory
pppd: Couldn't load plugin /usr/lib/pppd/2.4.4b1/pppoatm.so
eppure il file l'ho trovato con locate e ho verificato che si trova nella cartella specifica...

hai anche una cartella che si chiama /usr/lib/pppd/2.4.4/ ? se si, cosa contiene?

Pringo
27-04-2008, 21:14
quel file piu altri file...cmq ho comprato un router pero ora mi è scomparsa l applicazione knetwork e nn m la fa reistallare...

Lutra
27-04-2008, 21:18
quel file piu altri file...cmq ho comprato un router pero ora mi è scomparsa l applicazione knetwork e nn m la fa reistallare...

vabbé il problema di knetwork si risolve, che messaggio di da?

adesso che hai un router la connessione é una banalitá.

Lutra
27-04-2008, 21:18
quel file piu altri file...cmq ho comprato un router pero ora mi è scomparsa l applicazione knetwork e nn m la fa reistallare...

ma hai installato ubuntu o kubuntu?

Pringo
28-04-2008, 13:29
Prima avevo ubuntu poi sonmo passato a kubuntu e poi ritornato a ubuntu...con la conessione ho risolto(ora scrivo da lunx direttamente) ma i problemi nn sn finiti...ma x questo apriro altyri post