[RIJEŠENO] problemi sa konekcijom

Sorry zbog pogresne teme,nisam obratila paznju. Ok. sto se tice modema, to sam nasla: soft v92 data fax modem with smart cp - COM3. Nadam se da je to to sto si pitao. Pokusala sam s tom komandom sudo Ispci,ali trazi mi neki password…? pogledat cu i ove linkove koje si mi preporucio,pa cu se probati snaci. :wink: Ali pomoc nije na odmet:)

U pitanju je Smartlink chipset: http://www.smlink.com/content.aspx?id=135

Ok. Sad me interesuje kakav je to modem,mislim,da li ga mogu koristiti na ubuntu karnelu?? Jer kada sam tamo u terminal ukucala “sudo Ispci” dobila sam: “command nit found”. Je li to znaci da ovaj modem ne podrzava linux i ako je tako kako da si nadjem neki koji mogu tamo da koristim???

prvo mi reci koja ti je verzija (evo kako)
u terminalu ukucaj ovo:
cat /etc/lsb-release

primjer:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=5.10
DISTRIB_CODENAME=breezy
DISTRIB_DESCRIPTION=“Ubuntu (The Breezy Badger Release)”

lspci - list all PCI devices

ukucaj samo lspci (LSPCI, ne ISPCI) - na ubuntu-u može i bez (admin-a), mora raditi!

pretrazi ono sto ti ispise (trazi spominje li se gdje modem), otvori Application, Accesories, Tex Editor, kopiraj text, snimi , posalji da vidimo koji je modem tačno…

  • smartlink modemi bi trebali da rade pod linux-om
  • ako negdje naletis na polovan externi (serijski, ne USB) modem (pogotovo na USRobotics, ti rade 100% i to bez drivera), kosta 30-40KM polovan
  • mozda bi bilo najbolje da nabavis SUSE 9.2 ili SUSE 9.3 (NE 10.0!!!), lakse bi se sporazumjeli (čak mislim da dođu driveri za taj modem)
  • na k/ubuntu 4.10, 5.04 i v5.10 se moze konektovati sa podrzanim internim (PCI) dial up modemom (licno provjereno)

ostalo:

može i SuSE 10.0!!!

evo pogledao sam, ima paket za smartlink, ako to bude tvoj modem…

[Do Not Install] km_smartlink-softmodem | 2.9.10-17 | 579.4 kB
[Install] smartlink-softmodem | 2.9.10-17 | 947.1 kB

imam ubuntu 5.10. za suse cu vidjet. a ovo sa terminala sam uradila i evo sta sam dobila:
irma@ubuntu:~$ sudo lspci
Password:
0000:00:00.0 Host bridge: Intel Corp. 82852/855GM Host Bridge (rev 02)
0000:00:00.1 System peripheral: Intel Corp. 855GM/GME GMCH Memory I/O Control Registers (rev 02)
0000:00:00.3 System peripheral: Intel Corp. 855GM/GME GMCH Configuration Process Registers (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Audio Controller (rev 03)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Modem Controller (rev 03)
0000:02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:05.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
irma@ubuntu:~$ cat / etc /lsb-release

to je to

sto se tice moje raje svi su uglavnom suse.

I moj modem je SmartLink, sa njihove stranice skini drivere, ako što je Adis već rekao u jednoj drugoj temi:

[quote=Adis]Skini sa
http://www.smlink.com/objects/slmodem-2.9.10.tar.gz

Downloaduješ paket, recimo u /home/irma, pa iz terminala:

[code]$ tar -xzvf slmodem-2.9.10.tar.gz
$ cd slmodem
$ make
$ su

make install

slmodemd &[/code]

Nakon svakog sljedećeg restarta sistema treba pokrenuti:
slmodemd &[/quote]
Pa to probaj, meni modem radi (na Slackware-u). No imam nekih problema sa pppd-om, pa nikako ne mogu na net :frowning: iz Linuxa

[quote=irma]imam ubuntu 5.10. za suse cu vidjet. a ovo sa terminala sam uradila i evo sta sam dobila:
irma@ubuntu:~$ sudo lspci
Password:
0000:00:00.0 Host bridge: Intel Corp. 82852/855GM Host Bridge (rev 02)
0000:00:00.1 System peripheral: Intel Corp. 855GM/GME GMCH Memory I/O Control Registers (rev 02)
0000:00:00.3 System peripheral: Intel Corp. 855GM/GME GMCH Configuration Process Registers (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Audio Controller (rev 03)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Modem Controller (rev 03)
0000:02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:05.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
irma@ubuntu:~$ cat / etc /lsb-release

to je to

sto se tice moje raje svi su uglavnom suse.[/quote]
ovaj ubuntu, jel instaliran na laptopu? (ima i previse Intel-a za Desktop)

na ovom gore izlazu nigdje se ne vidi smartlink (samo Intel chipset)?!

ako se radi o laptopu (trebalo bi da jeste), reci koji je pa da se sta trazi na google-u

http://www.google.ba/search?hl=bs&q=drivers+Modem%3A+Intel+Corp.+82801DB%2FDBL%2FDBM&btnG=Tra%C5%BEi&meta=

http://www.geocities.com/ubuntumatthew/aopen1557gls.html BAD

ps:
mislim da mi je crazy_m nekad spomenuo da je nastimao modem (intelov) na laptopu, mozda on ima rjesenje…

Irma imas lijepo ime , ako si u Zenici eto me odma da ti instaliram SuSE.Ovi ti previse komplikuju zivot a Boga mi i taj Ubuntu :smiley:

Hahahaha, kakvo je ovo udvaranje preko foruma?

ha ha ha… Bilo bi super da sam u ze,da mi skratis muke,:wink: ali da se ne bi ostala gospoda bunila necemo vise ove spike;) u svakom slucaju,hvala na komplimentu:)
nego da predjem na stvar: Jeste na lap topu, HP INTEL® CELERON® M processor 1400 MHz , 1.40 GHz 224 MB of RAM. ma nije neka pljacka,ali moze on podnjeti ovo…
ma sve sam vam rekla , samo sto jos ne mogu na net s ubuntua… :frowning: valjda cemo nekad uspjeti , naravno uz vasu pomoc.
Necu jos da pricam o SUSE ili nekoj distribuciji, dok ne isprobam ovdje sve mogucnosti,mora postojai rjesenje!!! ne zurim nigdje na kraju krajeva.

P.S. gdje je taj crasy_m?? kako da ga sad nadjem? mislim, ako je tako da bi on trebao imati to rjesenje.

evo ga ovdje:

http://forum.linux.org.ba/profile.php?id=298

BTW.
kada je bio na maratonu imao je fujitsu-siemens laptop (intel based modem, vga, etc), i reče mi da kod njega radi…

ps:
laptopi + modemi (interni) su mi “nepoznanica”, mada je sve to u “pet deka”: ./configure; make; make install

[quote=aldin]ps:
mislim da mi je crazy_m nekad spomenuo da je nastimao modem (intelov) na laptopu, mozda on ima rjesenje…[/quote]
Evo me narode, kome gori …

Oh, yes, … Imam rjesenje.

Prvo skinuti ovaj (onaj) paket :
http://www.smlink.com/objects/slmodem-2.9.10.tar.gz

Poslije otpakiranja (tar xzf slmodem-2.9.10.tar.gz):
cd slmodem-2.9.10
cd modem
make SUPPORT_ALSA=1
make install (kao root)

U /etc/modprobe.conf (ja se nadam da je kod Ubuntu to na tom mjestu), obrisati # ispred snd-intel8x0m
npr: umjesto #snd-intel8x0m staviti snd-intel8x0m
(ovdje neka upadnu Ubunteri :smiley: )

U scriptu koja je namjenjna za pokretanje korisnikovih komandi prilikom boot-a (na Slacku /etc/rc.d/rc.local) ubaciti:
slmodemd </dev/null >/dev/null 2>/dev/null -a hw:1 -c SLOVENIA &
(i ovdje trebaju upasti Ubunteri :smiley: )

I nakon reboota uraditi samo ovo: ln -s /dev/ttySL0 /dev/modem (opciono)

I to je to :smiley:

PS
Namjerno sam rekao Ubunteri da se sapphire ne bi bunio ako bi reko Debianci :smiley: :smiley: :smiley:
Veliki pozdrav za sapphire-a … (Kad cemo na kahvu u LINUX)

može li malo određenije (npr. HP nx600) - opciono, može pomoći u istrazi…

napomena boldirano kucaš u terminalu

sudo apt-get install build-essential linux-headers-386
sa ovim se instalira kompajler i kernel source/headeri - treba ti za ono što slijedi…

[quote=crazy_m]Poslije otpakiranja (tar xzf slmodem-2.9.10.tar.gz):
cd slmodem-2.9.10
cd modem
make SUPPORT_ALSA=1
make install (kao root)[/quote]
prevedno (pošto je početnik/ca):
kopiraj/premjesti skinuti fajl (drivers) u home dir (Places–>Home)
ls (LS, ako hoćeš, nije moranje-trebalo bi da izlista sve fajlove u tvom home-u)

tar xzf slmodem-2.9.10.tar.gz
cd slmodem-2.9.10
cd modem
make SUPPORT_ALSA=1
sudo make install

javi šta je bilo do sada (pošto su moguće komplikacije na ovoj verziji - http://start.linux.org.ba/Ubuntu#Ubuntu_5.10_kompajler )

ovaj odgovor je malo opširniji (što se tiče broja karaktera), ali ne brini, ne moraš čitati izlaz kompajliranja, bitno je ovo ostalo…
evo probao sam da kompajliram na ubuntu-u 5.10 (sa gcc-4.x - sa standardnim, nije moglo)

aldin@ubuntu:~$ tar xzf slmodem-2.9.10.tar.gz aldin@ubuntu:~$ cd slmodem-2.9.10/modem/ aldin@ubuntu:~/slmodem-2.9.10/modem$ make SUPPORT_ALSA=1 rebuild profile... gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_main.o -c modem_main.c modem_main.c:64:28: error: alsa/asoundlib.h: No such file or directory modem_main.c:102: error: syntax error before modem_main.c:102: warning: no semicolon at end of struct or union modem_main.c:103: warning: type defaults to int in declaration of chandle modem_main.c:103: warning: data definition has no type or storage class modem_main.c:108: error: syntax error before } token modem_main.c:125: error: syntax error before * token modem_main.c:125: warning: type defaults to int in declaration of dbg_out modem_main.c:125: warning: data definition has no type or storage class modem_main.c: In function alsa_device_setup: modem_main.c:129: error: storage size of pfd isnt known modem_main.c:131: error: dereferencing pointer to incomplete type modem_main.c:132: warning: implicit declaration of function snd_pcm_open modem_main.c:132: error: dereferencing pointer to incomplete type modem_main.c:132: error: SND_PCM_STREAM_PLAYBACK undeclared (first use in this function) modem_main.c:132: error: (Each undeclared identifier is reported only once modem_main.c:132: error: for each function it appears in.) modem_main.c:132: error: SND_PCM_NONBLOCK undeclared (first use in this function) modem_main.c:134: warning: implicit declaration of function snd_strerror modem_main.c:134: warning: format %s expects type char *, but argument 4 has type int modem_main.c:138: error: dereferencing pointer to incomplete type modem_main.c:138: error: SND_PCM_STREAM_CAPTURE undeclared (first use in this function) modem_main.c:140: warning: format %s expects type char *, but argument 4 has type int modem_main.c:144: warning: implicit declaration of function snd_pcm_poll_descriptors modem_main.c:144: error: dereferencing pointer to incomplete type modem_main.c:146: warning: format %s expects type char *, but argument 4 has type int modem_main.c:150: error: dereferencing pointer to incomplete type modem_main.c:151: error: dereferencing pointer to incomplete type modem_main.c:154: warning: implicit declaration of function snd_output_stdio_attach modem_main.c:129: warning: unused variable pfd modem_main.c: In function alsa_device_release: modem_main.c:161: warning: implicit declaration of function snd_pcm_close modem_main.c:161: error: dereferencing pointer to incomplete type modem_main.c:162: error: dereferencing pointer to incomplete type modem_main.c: In function alsa_xrun_recovery: modem_main.c:172: warning: implicit declaration of function snd_pcm_prepare modem_main.c:172: error: dereferencing pointer to incomplete type modem_main.c:174: warning: format %s expects type char *, but argument 3 has type int modem_main.c:177: error: dereferencing pointer to incomplete type modem_main.c:178: warning: implicit declaration of function snd_pcm_format_set_silence modem_main.c:178: error: SND_PCM_FORMAT_S16_LE undeclared (first use in this function) modem_main.c:179: warning: implicit declaration of function snd_pcm_writei modem_main.c:179: error: dereferencing pointer to incomplete type modem_main.c:181: warning: format %s expects type char *, but argument 3 has type int modem_main.c:184: warning: implicit declaration of function snd_pcm_start modem_main.c:184: error: dereferencing pointer to incomplete type modem_main.c:186: warning: format %s expects type char *, but argument 3 has type int modem_main.c: In function alsa_device_read: modem_main.c:198: warning: implicit declaration of function snd_pcm_readi modem_main.c:198: error: dereferencing pointer to incomplete type modem_main.c:205: error: dereferencing pointer to incomplete type modem_main.c: In function alsa_device_write: modem_main.c:215: error: dereferencing pointer to incomplete type modem_main.c:218: error: dereferencing pointer to incomplete type modem_main.c:233: error: dereferencing pointer to incomplete type modem_main.c: At top level: modem_main.c:240: error: syntax error before mdm2snd_format modem_main.c:241: warning: return type defaults to int modem_main.c: In function mdm2snd_format: modem_main.c:243: error: SND_PCM_FORMAT_S16_LE undeclared (first use in this function) modem_main.c:244: error: SND_PCM_FORMAT_UNKNOWN undeclared (first use in this function) modem_main.c:245: warning: control reaches end of non-void function modem_main.c: At top level: modem_main.c:248: error: syntax error before * token modem_main.c: In function setup_stream: modem_main.c:250: error: m undeclared (first use in this function) modem_main.c:251: error: snd_pcm_hw_params_t undeclared (first use in this function) modem_main.c:251: error: hw_params undeclared (first use in this function) modem_main.c:252: error: snd_pcm_sw_params_t undeclared (first use in this function) modem_main.c:252: error: sw_params undeclared (first use in this function) modem_main.c:253: error: snd_pcm_format_t undeclared (first use in this function) modem_main.c:253: error: syntax error before format modem_main.c:255: error: snd_pcm_uframes_t undeclared (first use in this function) modem_main.c:255: error: syntax error before size modem_main.c:258: warning: implicit declaration of function snd_pcm_hw_params_malloc modem_main.c:260: error: stream_name undeclared (first use in this function) modem_main.c:260: warning: format %s expects type char *, but argument 4 has type int modem_main.c:263: warning: implicit declaration of function snd_pcm_hw_params_any modem_main.c:263: error: handle undeclared (first use in this function) modem_main.c:265: warning: format %s expects type char *, but argument 4 has type int modem_main.c:268: warning: implicit declaration of function snd_pcm_hw_params_set_access modem_main.c:268: error: SND_PCM_ACCESS_RW_INTERLEAVED undeclared (first use in this function) modem_main.c:270: warning: format %s expects type char *, but argument 4 has type int modem_main.c:273: error: format undeclared (first use in this function) modem_main.c:274: error: SND_PCM_FORMAT_UNKNOWN undeclared (first use in this function) modem_main.c:278: warning: implicit declaration of function snd_pcm_hw_params_set_format modem_main.c:280: warning: format %s expects type char *, but argument 4 has type int modem_main.c:283: warning: implicit declaration of function snd_pcm_hw_params_set_channels modem_main.c:285: warning: format %s expects type char *, but argument 4 has type int modem_main.c:289: warning: implicit declaration of function snd_pcm_hw_params_set_rate_near modem_main.c:291: warning: format %s expects type char *, but argument 4 has type int modem_main.c:299: error: rsize undeclared (first use in this function) modem_main.c:299: error: size undeclared (first use in this function) modem_main.c:299: error: dereferencing pointer to incomplete type modem_main.c:300: warning: implicit declaration of function snd_pcm_hw_params_set_period_size_near modem_main.c:302: warning: format %s expects type char *, but argument 4 has type int modem_main.c:311: warning: implicit declaration of function snd_pcm_hw_params_set_buffer_size_near modem_main.c:313: warning: format %s expects type char *, but argument 4 has type int modem_main.c:320: warning: implicit declaration of function snd_pcm_hw_params modem_main.c:322: warning: format %s expects type char *, but argument 4 has type int modem_main.c:327: warning: format %s expects type char *, but argument 4 has type int modem_main.c:330: warning: implicit declaration of function snd_pcm_hw_params_free modem_main.c:332: warning: implicit declaration of function snd_pcm_sw_params_malloc modem_main.c:334: warning: format %s expects type char *, but argument 4 has type int modem_main.c:337: warning: implicit declaration of function snd_pcm_sw_params_current modem_main.c:339: warning: format %s expects type char *, but argument 4 has type int modem_main.c:342: warning: implicit declaration of function snd_pcm_sw_params_set_start_threshold modem_main.c:344: warning: format %s expects type char *, but argument 4 has type int modem_main.c:347: warning: implicit declaration of function snd_pcm_sw_params_set_avail_min modem_main.c:349: warning: format %s expects type char *, but argument 4 has type int modem_main.c:352: warning: implicit declaration of function snd_pcm_sw_params_set_xfer_align modem_main.c:354: warning: format %s expects type char *, but argument 4 has type int modem_main.c:357: warning: implicit declaration of function snd_pcm_sw_params modem_main.c:359: warning: format %s expects type char *, but argument 4 has type int modem_main.c:362: warning: implicit declaration of function snd_pcm_sw_params_free modem_main.c:365: warning: implicit declaration of function snd_pcm_dump modem_main.c: In function alsa_start: modem_main.c:374: error: dereferencing pointer to incomplete type modem_main.c:375: error: dereferencing pointer to incomplete type modem_main.c:378: error: dereferencing pointer to incomplete type modem_main.c:381: error: dereferencing pointer to incomplete type modem_main.c:384: error: SND_PCM_FORMAT_S16_LE undeclared (first use in this function) modem_main.c:390: error: dereferencing pointer to incomplete type modem_main.c:395: error: dereferencing pointer to incomplete type modem_main.c:396: error: dereferencing pointer to incomplete type modem_main.c:397: warning: implicit declaration of function snd_pcm_link modem_main.c:397: error: dereferencing pointer to incomplete type modem_main.c:397: error: dereferencing pointer to incomplete type modem_main.c:399: warning: format %s expects type char *, but argument 3 has type int modem_main.c:402: error: dereferencing pointer to incomplete type modem_main.c:404: warning: format %s expects type char *, but argument 3 has type int modem_main.c:407: error: dereferencing pointer to incomplete type modem_main.c: In function alsa_stop: modem_main.c:415: error: dereferencing pointer to incomplete type modem_main.c:416: warning: implicit declaration of function snd_pcm_drop modem_main.c:416: error: dereferencing pointer to incomplete type modem_main.c:417: warning: implicit declaration of function snd_pcm_nonblock modem_main.c:417: error: dereferencing pointer to incomplete type modem_main.c:418: warning: implicit declaration of function snd_pcm_drain modem_main.c:418: error: dereferencing pointer to incomplete type modem_main.c:419: error: dereferencing pointer to incomplete type modem_main.c:420: warning: implicit declaration of function snd_pcm_unlink modem_main.c:420: error: dereferencing pointer to incomplete type modem_main.c:421: warning: implicit declaration of function snd_pcm_hw_free modem_main.c:421: error: dereferencing pointer to incomplete type modem_main.c:422: error: dereferencing pointer to incomplete type modem_main.c: In function alsa_ioctl: modem_main.c:439: error: dereferencing pointer to incomplete type modem_main.c:440: error: dereferencing pointer to incomplete type modem_main.c: In function modemap_start: modem_main.c:469: error: dereferencing pointer to incomplete type modem_main.c:470: error: dereferencing pointer to incomplete type modem_main.c:475: error: dereferencing pointer to incomplete type modem_main.c:477: error: dereferencing pointer to incomplete type modem_main.c:480: error: dereferencing pointer to incomplete type modem_main.c: In function modemap_stop: modem_main.c:488: error: dereferencing pointer to incomplete type modem_main.c: In function modemap_ioctl: modem_main.c:498: error: dereferencing pointer to incomplete type modem_main.c:501: error: dereferencing pointer to incomplete type modem_main.c: In function mdm_device_read: modem_main.c:517: error: dereferencing pointer to incomplete type modem_main.c: In function mdm_device_write: modem_main.c:524: error: dereferencing pointer to incomplete type modem_main.c: In function mdm_device_setup: modem_main.c:533: error: dereferencing pointer to incomplete type modem_main.c:549: error: dereferencing pointer to incomplete type modem_main.c:550: error: dereferencing pointer to incomplete type modem_main.c: In function mdm_device_release: modem_main.c:556: error: dereferencing pointer to incomplete type modem_main.c: In function modem_run: modem_main.c:694: error: dereferencing pointer to incomplete type modem_main.c:694: error: dereferencing pointer to incomplete type modem_main.c:696: error: dereferencing pointer to incomplete type modem_main.c:696: error: dereferencing pointer to incomplete type modem_main.c:697: error: dereferencing pointer to incomplete type modem_main.c:721: error: dereferencing pointer to incomplete type modem_main.c:721: error: dereferencing pointer to incomplete type modem_main.c:730: error: dereferencing pointer to incomplete type modem_main.c:739: error: dereferencing pointer to incomplete type modem_main.c:739: error: dereferencing pointer to incomplete type modem_main.c:753: error: dereferencing pointer to incomplete type modem_main.c:760: error: dereferencing pointer to incomplete type modem_main.c:787: error: dereferencing pointer to incomplete type modem_main.c:694: error: invalid lvalue in asm output 0 modem_main.c:696: error: invalid lvalue in asm output 0 modem_main.c:721: error: memory input 2 is not directly addressable modem_main.c:739: error: memory input 2 is not directly addressable modem_main.c: In function modem_main: modem_main.c:852: error: storage size of device isnt known modem_main.c:852: warning: unused variable device make: *** [modem_main.o] Error 1
evo šta bude ako nema ALSA-e

aldin@ubuntu:~/slmodem-2.9.10/modem$ cd ..; make make -C modem all make[1]: Entering directory `/home/aldin/slmodem-2.9.10/modem' rebuild profile... gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c modem.c: In function modem_reset: modem.c:1701: error: invalid storage class for function sregs_init modem.c:1713: warning: implicit declaration of function sregs_init modem.c: At top level: modem.c:1727: error: static declaration of sregs_init follows non-static declaration modem.c:1713: error: previous implicit declaration of sregs_init was here make[1]: *** [modem.o] Error 1 make[1]: Leaving directory `/home/aldin/slmodem-2.9.10/modem' make: *** [modem] Error 2 aldin@ubuntu:~/slmodem-2.9.10$
mogući problem --> kompajler, treba probati sa downgrade-ovanjem to je ovo:
http://start.linux.org.ba/Ubuntu#Ubuntu_5.10_kompajler

kada uradiš ovo gore (kompajler), onda ponovi postupak (ovaj kod ispod, i javi tačno šta ti kaže):

cd slmodem-2.9.10/modem/ make SUPPORT_ALSA=1 sudo make install #ako se iskompajlira
ps:
na slackware-u 10.2 kompajliranje ide ok:

aldin@darkstar:~$ tar xzf slmodem-2.9.10.tar.gz aldin@darkstar:~$ cd slmodem-2.9.10/modem/ aldin@darkstar:~/slmodem-2.9.10/modem$ make SUPPORT_ALSA=1 rebuild profile... gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_main.o -c modem_main.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_cmdline.o -c modem_cmdline.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem.o -c modem.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_datafile.o -c modem_datafile.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_at.o -c modem_at.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_timer.o -c modem_timer.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_pack.o -c modem_pack.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_ec.o -c modem_ec.c modem_ec.c:689: warning: `t403_timeout' defined but not used gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_comp.o -c modem_comp.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_param.o -c modem_param.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_debug.o -c modem_debug.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o homolog_data.o -c homolog_data.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o dp_sinus.o -c dp_sinus.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o dp_dummy.o -c dp_dummy.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o sysdep_common.o -c sysdep_common.c gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o /usr/lib/libasound.so gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_test.o -c modem_test.c gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o aldin@darkstar:~/slmodem-2.9.10/modem$
na suse 10.0 kompajliranje ne ide ok:

aldin@linux:~> tar xzf slmodem-2.9.10.tar.gz aldin@linux:~> cd slmodem-2.9.10/modem/ aldin@linux:~/slmodem-2.9.10/modem> make SUPPORT_ALSA=1 rebuild profile... gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_main.o -c modem_main.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_cmdline.o -c modem_cmdline.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem.o -c modem.c modem.c: In function modem_reset: modem.c:1701: error: invalid storage class for function sregs_init modem.c:1713: warning: implicit declaration of function sregs_init modem.c: At top level: modem.c:1727: error: static declaration of sregs_init follows non-static declaration modem.c:1713: error: previous implicit declaration of sregs_init was here make: *** [modem.o] Error 1 aldin@linux:~/slmodem-2.9.10/modem> cd ..; make make -C modem all make[1]: Entering directory `/home/aldin/slmodem-2.9.10/modem' rebuild profile... gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c modem.c: In function modem_reset: modem.c:1701: error: invalid storage class for function sregs_init modem.c:1713: warning: implicit declaration of function sregs_init modem.c: At top level: modem.c:1727: error: static declaration of sregs_init follows non-static declaration modem.c:1713: error: previous implicit declaration of sregs_init was here make[1]: *** [modem.o] Error 1 make[1]: Leaving directory `/home/aldin/slmodem-2.9.10/modem' make: *** [modem] Error 2 aldin@linux:~/slmodem-2.9.10>
ALI zato na SuSE-u 10.0 imaš ovo!!!

aldin@linux:~> rpm -qa smartlink-softmodem smartlink-softmodem-2.9.10-17 aldin@linux:~>
već pripremljeni driver-i za smartlink modeme… ne treba se peglasti sa kompajliranjem => instalacija je lagana…

ONO GORE SU BILI BETA odgovori, evo final edition, ako nisi do sad ništa uradila try this

malo će biti “štimanja” zbog gcc-4.0 koji nije baš kako treba…
probao sam kod sebe (iz prve ruke), izgleda da je ok (samo što nemam taj tvoj hardwer/modem da ga još i isprobam)

evo šta trebaš skinuti (3-4MB):

http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/cpp-3.4_3.4.2-2ubuntu1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/gcc-3.4_3.4.2-2ubuntu1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/gcc-3.4-base_3.4.2-2ubuntu1_i386.deb

http://www.smlink.com/content.aspx?id=142

prebaci download (pakete i drivere) u home direktorij

aldin@ubuntu:~$ ls -l -h -rwxr-xr-x 1 aldin aldin 1.7M 2006-04-14 08:52 cpp-3.4_3.4.2-2ubuntu1_i386.deb -rwxr-xr-x 1 aldin aldin 1.4M 2006-04-14 08:52 gcc-3.4_3.4.2-2ubuntu1_i386.deb -rwxr-xr-x 1 aldin aldin 154K 2006-04-14 08:52 gcc-3.4-base_3.4.2-2ubuntu1_i386.deb -rwxr-xr-x 1 aldin aldin 788K 2006-04-14 08:53 slmodem-2.9.10.tar.gz
napomene:
prvo snimi ovaj topic i otvori ga na linux-u
najbolje kopiraj red po red (ove komande) i press ENTER (ne kucaj - možda fuliš koje slovo), kad ti bude tražena šifra zna se…

otvori terminal

tar xzf slmodem-2.9.10.tar.gz sudo su apt-get install build-essential linux-headers-386 dpkg -i *.deb rm /usr/bin/gcc rm /usr/bin/cc ln -s /usr/bin/gcc-3.4 /usr/bin/gcc ln -s /usr/bin/gcc /usr/bin/cc exit cd slmodem-2.9.10 make KERNEL_DIR=/usr/src/linux-headers-2.6.12-9-386 sudo make install
ps:
ako gdje zapne, napiši gdje je zapelo, eto…

o konekciji možemo nakon (uspješnog) kompajliranja (postoji pppconfig, kppp - kubuntu, wvdial etc.)

Za aldin: Morat ce koristit : make SUPPORT_ALSA=1 inace nista od pokretanja, jer se ustvari koriste ALSA driveri, ne ovi driveri posto ih je nemoguce iskompajlirati na novijim kernelima :D, ALSA-ini driveri rade odlicno :slight_smile:
Procitaj moj prethodni post.

[quote=crazy_m]Za aldin: Morat ce koristit : make SUPPORT_ALSA=1 inace nista od pokretanja, jer se ustvari koriste ALSA driveri, ne ovi driveri posto ih je nemoguce iskompajlirati na novijim kernelima :D, ALSA-ini driveri rade odlicno :slight_smile:
Procitaj moj prethodni post.[/quote]
pročitao sam detaljno i isprobao oba slučaja, samo u slučaju kada se uzme make (standardno) na ubuntu-u se može izvršiti kompajliranje (probao sam na slacku, na njemu može sa ALSA-om)

ps:
u prethodnim postovima sam dao izlaze kompajliranja na suse, ubuntu, slack distro

aldin@ubuntu:~/slmodem-2.9.10/modem$ sudo make SUPPORT_ALSA=1 Password: rebuild profile... gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1 -o modem_main.o -c modem_main.c modem_main.c:64:28: alsa/asoundlib.h: No such file or directory modem_main.c:102: error: parse error before "snd_pcm_t" modem_main.c:102: warning: no semicolon at end of struct or union . . . modem_main.c:739: error: dereferencing pointer to incomplete type modem_main.c:753: error: dereferencing pointer to incomplete type modem_main.c:760: error: dereferencing pointer to incomplete type modem_main.c:787: error: dereferencing pointer to incomplete type modem_main.c: In function `modem_main': modem_main.c:852: error: storage size of 'device' isn't known modem_main.c:852: warning: unused variable `device' make: *** [modem_main.o] Error 1 aldin@ubuntu:~/slmodem-2.9.10/modem$

e ovako sad:

  1. crazy_m citat:
Poslije otpakiranja (tar xzf slmodem-2.9.10.tar.gz):
cd slmodem-2.9.10
cd modem
make SUPPORT_ALSA=1
make install (kao root)

poslije ovoga dobila sam ovo:

irma@ubuntu:~$
irma@ubuntu:~$ tar xzf slmodem-2.9.10.tar.gz irma@ubuntu:~$ cd slmodem-2.9.10
irma@ubuntu:~/slmodem-2.9.10$ cd modem
irma@ubuntu:~/slmodem-2.9.10/modem$ make SUPPORT_ALSA=1
bash: make: command not found
irma@ubuntu:~/slmodem-2.9.10/modem$ sudo make install

sta je sad ovo " bash: make: command not found"???

malo detaljnije o mom hp compaq nx9020