Δημοσιεύτηκε: 06 Αύγ 2011, 14:20
Φίλε pros γεια σου. κατάφερα να λύσω το θεμα με τε σφαλματα με τον τρόπο που μου πρότεινες αλλά δεν κατάφερα να δουλέψω το modem.
Εκτός απο τον δικό σου τρόπο δοκίμασα και απο αυτό το site http://ubuntuforums.org/showthread.php?t=1782564&page=2 τ παρακάτω.
Επίσης απο τι site που μου έδωσες εκανα αυτά τα δύο
αλλά και παλι τίποτα.
Στην εντολή lsusb. δεν έχει αλλάξει κάτι.
Θα συνεχίσω να το ψάχνω και αν έχετε και εσείς κάποια ιδέα μου λέτε.
Ευχαριστώ.
Εκτός απο τον δικό σου τρόπο δοκίμασα και απο αυτό το site http://ubuntuforums.org/showthread.php?t=1782564&page=2 τ παρακάτω.
έγραψε: Re: Vodafone Mobile Broadband USB stick K3770
I got it working after days of painful research
So the solution.
You have to trick linux into thinking it is a different modem, this involves installing usb_modeswitch and editing 3 files
The first file
sudo gedit /etc/usb_modeswitch.conf
add the following lines
DefaultVendor= 0x12d1
DefaultProduct=0x14d1
TargetVendor= 0x12d1
TargetProduct= 0x1c05
CheckSuccess=20
MessageContent="5553424312345678000000000000001106 0000000000000000000000000000"
The second file you will need to create
sudo gedit /etc/usb_modeswitch.d/12d1:14d1
Then add the following lines - yes almost the same as above
################################################## ######
# Huawei K3770
DefaultVendor= 0x12d1
DefaultProduct=0x14d1
TargetVendor= 0x12d1
TargetProduct= 0x1c05
CheckSuccess=20
MessageContent="5553424312345678000000000000001106 0000000000000000000000000000"
And finally the last file
sudo gedit /lib/udev/rules.d/40-usb_modeswitch.rules
Add the line
# Huawei Ek3770
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14d1", RUN+="usb_modeswitch '%b/%k'"
I rebooted after this and it works.
I did notice that if you startup with the modem it sometimes does not find it, just pull it out and put it back in.
It works with network manager
Επίσης απο τι site που μου έδωσες εκανα αυτά τα δύο
έγραψε:I have Ubuntu 11.04, I can manually switch my Huawei K3770 modem with the command:
sudo usb_modeswitch -v 0x12d1 -p 0x14d1 -c /home/USER/12d1:14d1
Then I need to do the command:
sudo modprobe usbserial vendor=0x12d1 product=0x14c9
And the modem works fine. I would like it to work automatically when I plug in the modem. I have followed various Forum posts and this is what I have done:
αλλά και παλι τίποτα.
Στην εντολή lsusb. δεν έχει αλλάξει κάτι.
Θα συνεχίσω να το ψάχνω και αν έχετε και εσείς κάποια ιδέα μου λέτε.
Ευχαριστώ.