Haf
August 6, 2008, 7:08am
1
Pozdrav svima
isti problem kao prije vise od godinu dana kada sam postavio isto pitanje i prestao sa koristenjem linuxa
pokusavam podesiti usb speedtouch 330 modem po vodicu korisnika AbsintheSyringe
http://forum.linux.org.ba/viewtopic.php?id=1593
prikazujem ilustrovano sta se desi
ukucam prvo komandu kao u vodicu
http://img391.imageshack.us/my.php?image=83190449bc5.png
prikaze mi slijedece
http://img80.imageshack.us/my.php?image=44783460lt8.png
ne mogu odabrati YES, kada izaberem no prikaze mi slijedece
http://img391.imageshack.us/my.php?image=53587675ao0.png
change
August 6, 2008, 10:29am
2
de vako prvo nam daj sta ti kazu ove komande:
sudo ifconfig
dmesg | grep eth
sudo lspci
posto po ovim slikama vidim da ti mrezna uopste ne radi/nije prepoznata…
tako da bi prvo to trebalo rijesit
Haf
August 6, 2008, 3:42pm
3
NE ZNAM ZASTO SPOMINJES MREZNU KADA MI JE MODEM USB
A I NEMAM MREZNE NA RACUNARU
haf@haf-desktop:~$ sudo ifconfig
[sudo] password for haf:
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:1040 errors:0 dropped:0 overruns:0 frame:0
TX packets:1040 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:52416 (51.1 KB) TX bytes:52416 (51.1 KB)
haf@haf-desktop:~$ dmesg | grep eth
[ 46.636409] Driver ‘sd’ needs updating - please use bus_type methods
[ 46.636671] sda:<4>Driver ‘sr’ needs updating - please use bus_type methods
haf@haf-desktop:~$ sudo lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 11)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)
03:01.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
03:02.0 Communication controller: Agere Systems 56k WinModem (rev 01)
haf@haf-desktop:~$
adis
August 6, 2008, 4:10pm
4
[quote=Haf]NE ZNAM ZASTO SPOMINJES MREZNU KADA MI JE MODEM USB
A I NEMAM MREZNE NA RACUNARU[/quote]
To nije razlog za vikanje (koristi mala slova). Mrežna ti treba, bilo prava, bilo emulacija (preko USB-a).
Kao* i na Windowsu, moraš prvo uključiti drajver koji će od USB konekcije napraviti emulaciju klasične ethernet konekcije. Vrlo vjerovatno je to “usbnet” drajver. Znači:
[code]# modprobe usbnet
ifconfig[/code]
Gdje ti se pri outputu ove druge komande treba pojaviti mrežni interfejs. obično eth0 ili eth1.
Tek onda može ići štimanje pppoe konekcije: http://wiki.linux.org.ba/Spajanje_na_kablovski_internet_(PPPoE)
Ako bude dalje problema, onda treba i output komande “lsusb”, da vidimo tačno koji model imaš i sl.
P.S.
Dodati dvije žličice Sude tamo gdje je potrebno…
Naravno, nema odvojene instalacije drajvera sa CD-a, ili neophodnog downloada drajvera sa interneta kojeg nemaš
Haf
August 6, 2008, 4:50pm
5
ovo je do sada
[quote]haf@haf-desktop:~$ modprobe usbnet
WARNING: Error inserting mii (/lib/modules/2.6.24-19-generic/kernel/drivers/net/mii.ko): Operation not permitted
FATAL: Error inserting usbnet (/lib/modules/2.6.24-19-generic/kernel/drivers/net/usb/usbnet.ko): Operation not permitted
haf@haf-desktop:~$ ifconfig
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:1062 errors:0 dropped:0 overruns:0 frame:0
TX packets:1062 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:53768 (52.5 KB) TX bytes:53768 (52.5 KB)
haf@haf-desktop:~$ sudo ifconfig
[sudo] password for haf:
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:1062 errors:0 dropped:0 overruns:0 frame:0
TX packets:1062 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:53768 (52.5 KB) TX bytes:53768 (52.5 KB)
haf@haf-desktop:~$ dmesg | grep eth
[ 49.246595] Driver ‘sd’ needs updating - please use bus_type methods
[ 49.246864] sda:<4>Driver ‘sr’ needs updating - please use bus_type methods
haf@haf-desktop:~$ sudo lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 11)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)
03:01.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
03:02.0 Communication controller: Agere Systems 56k WinModem (rev 01)
haf@haf-desktop:~$[/quote]
aldin
August 6, 2008, 6:54pm
6
aldin@ubu:~$ sudo modprobe usbnet
Haf
August 6, 2008, 7:11pm
7
nakon sto to ukucam trazi mi password od mog usera
ukucam password i nista se ne desi
to “nista se ne desi” znaci da je proslo kako treba
dakle
$ sudo modprobe usbnet
$ sudo ifconfig
pa nam daj sadrzaj
Haf
August 6, 2008, 8:08pm
9
[quote=testni_hamo2]to “nista se ne desi” znaci da je proslo kako treba
dakle
$ sudo modprobe usbnet
$ sudo ifconfig
pa nam daj sadrzaj[/quote]
za sudo modprobe usbnet vidis u ranijem postu
a za sudo mifconfig izbaci mi slijedece
[quote]suhaf@haf-desktop:~$ sudo ifconfig
[sudo] password for haf:
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:1180 errors:0 dropped:0 overruns:0 frame:0
TX packets:1180 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:59416 (58.0 KB) TX bytes:59416 (58.0 KB)
haf@haf-desktop:~$[/quote]
adis
August 6, 2008, 8:22pm
10
Sorry, nije bio dobar link u prošlom postu:
http://wiki.linux.org.ba/Spajanje_na_kablovski_internet_(PPPoE)
[quote]I na kraju u /etc/network/interfaces ukucajte:
auto eth1
iface eth1 inet dhcp
Zatim kucate:
/etc/init.d/networking restart[/quote]
Pošto uopšte nema mrežnih kartica, vrlo vjerovatno eth1 treba zamijeniti sa eth0, brojimo od nule mmkay?
Haf
August 6, 2008, 8:23pm
11
[quote=adis]Sorry, nije bio dobar link u prošlom postu:
http://wiki.linux.org.ba/Spajanje_na_kablovski_internet_(PPPoE)
[quote]I na kraju u /etc/network/interfaces ukucajte:
auto eth1
iface eth1 inet dhcp
Zatim kucate:
/etc/init.d/networking restart[/quote]
[/quote]
vidim na ovom linku je za spajanje na kablovski internet
meni je ADSL
Haf
August 6, 2008, 8:37pm
12
evo sad mi sere linux kada restartujem racunar da predjem iz windowsa u linux
pocne mi se ucitavati i nesto mi se prikaze (initramfs)
change
August 6, 2008, 9:09pm
13
[quote=Haf]evo sad mi sere linux kada restartujem racunar da predjem iz windowsa u linux
pocne mi se ucitavati i nesto mi se prikaze (initramfs)[/quote]
jel moze kako bez vulgarnih rijeci??
de probaj ko sto ovdje lik kaze: http://ubuntuforums.org/showpost.php?p=3700143&postcount=7
pa nam reci sta ona bude?
Haf
August 6, 2008, 9:42pm
14
[quote=change][quote=Haf]evo sad mi sere linux kada restartujem racunar da predjem iz windowsa u linux
pocne mi se ucitavati i nesto mi se prikaze (initramfs)[/quote]
jel moze kako bez vulgarnih rijeci??
de probaj ko sto ovdje lik kaze: http://ubuntuforums.org/showpost.php?p=3700143&postcount=7
pa nam reci sta ona bude?[/quote]
ako je “sere” vulgarna rijec…
sve u svemu kazem slijedece
dakle kako sam skontao odem u etc/network/interfaces
u interfaceu mi pise slijedece
auto lo
iface lo inet loopback
tu ispod toga dopisem
auto eth1
ifaceeth1 inet dhcp
pa na kraju izgleda ovako
auto lo
iface lo inet loopback
euto eth1
iface eth1 inet dhcp
zatim pokrenem terminal i tu ukucam
/etc/init.d/networking restart
kaze mi slijedece
haf@haf-desktop:~$ /etc/init.d/networking restart
open: Permission denied
Reconfiguring network interfaces… ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
ifup: failed to open statefile /var/run/network/ifstate: Permission denied
open: Permission denied
[fail]
haf@haf-desktop:~$
change
August 6, 2008, 10:13pm
15
sudo /etc/init.d/networking restart
ili kad otvoris konsole ili ti ga terminal odma kucaj “sudo su” i pass, i onda si root cijelo vrijeme…
ako neces to onda svaki put kada “diras” nesto sto je “opasno” moras sudo kucat…
evo malo “nauke”: http://en.wikipedia.org/wiki/Sudo
ps
"sere" jeste vulgarna rijec…
maher
August 6, 2008, 10:47pm
16
hmm, mozda mu interface radi al ga “ifconfig” ne moze vidit zato sto nije podigunut , pa bi trebalo izvrsit “ifconfig -a” da vidite dali je prepozno interface … dalje se zna
adioe3
August 6, 2008, 11:46pm
17
Elem,
sudo modprobe usbnet
Password: <ukucaj password>
sudo ifconfig
Tim redoslijedom pa javi sta bude. Prvo ucita potreban modul, drugo prikaze aktivne mrezne kartice.
Haf
August 7, 2008, 12:09am
18
[quote=change]sudo /etc/init.d/networking restart
ili kad otvoris konsole ili ti ga terminal odma kucaj “sudo su” i pass, i onda si root cijelo vrijeme…
ako neces to onda svaki put kada “diras” nesto sto je “opasno” moras sudo kucat…
evo malo “nauke”: http://en.wikipedia.org/wiki/Sudo
ps
"sere" jeste vulgarna rijec…[/quote]
ovo mi prikaze
haf@haf-desktop:~$ sudo /etc/init.d/networking restart
[sudo] password for haf:
Reconfiguring network interfaces… [ OK ]
haf@haf-desktop:~$
[quote=maher_]Elem,
Kod:
sudo modprobe usbnet
Password:
sudo ifconfig
Tim redoslijedom pa javi sta bude. Prvo ucita potreban modul, drugo prikaze aktivne mrezne kartice.[/quote]
ovo mi prikaze
haf@haf-desktop:~$ sudo modprobe usbnet
haf@haf-desktop:~$ sudo ifconfig
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:982 errors:0 dropped:0 overruns:0 frame:0
TX packets:982 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:49516 (48.3 KB) TX bytes:49516 (48.3 KB)
haf@haf-desktop:~$
haf@haf-desktop:~$
adioe3
August 7, 2008, 2:01am
19
Ajd nam daj output komande sudo dmesg
Evo ti jedno elegantno rješenje za Ubuntu:
http://www.squeezedonkey.com/wiki/linux/index.php?title=Main_Page
I paket:
http://www.squeezedonkey.com/svn/linux/trunk/releases/ubuntu/32-bit%20i386/usbadslmodemmanager_0.5.8_i386.deb
Dakle, instaliraj ovaj paket:
sudo dpkg -i usbadslmodemmanager_0.5.8_i386.deb
restartaj GNOME (logout-login),
imat ćeš u tray-u (gornji desni ugao) novu ikonicu pomoću koje se spajaš na internet preko svog modema, unesi login/password i ostalo ako treba koje si dobio od ISP-a.
Eto, srećno!
P.S. Ovaj modem nema ethernet mrežni interfejs, nego se ponaša kao standardni dial-up modem, da se džaba ne zamaramo!
Više o ovom ADSL winmodemu (pih!):
http://wiki.debian.org/Speedtouch330