Help!!
I just insalled the latest xubuntu on one of my pcs (gutsy gibbon)
trying to get it to connect to the internet thru my uni's wmodem app by usb.
ran
sudo -i
modprobe usbserial vendor=0xbb4 product=0x0cf
already did mkdev for ttyUSB0
dmesg shows device connected to ttyUSB0
echo "ATDT*99#" > /dev/ttyUSB0
causes connection light to go on in wmodem app on uni
but...
when I run wvdialconf I get:
ttyUSB0<*1> ATQ0 V1 E1 .. failed with 2400 baud, next try;9600 baud
ttyUSB0<*1> ATQ0 V1 E1 .. failed with 9600 baud, next try;115200 baud
ttyUSB0<*1> ATQ0 V1 E1 .. failed with 2400 baud, giving up.
Sorry, no modem detected! Is it in use by another program?
Did you configure it properly with setserial?
what do I have 2 do?
oh yeah, tried making 'tmobile' in /etc/ppp/peers
contains:
----
hide-password
noauth
connect "usr/sbin/chat -v -f /etc/chatscripts/tmobile"
debug
ttyUSB0
115200
defaultroute
noipdefault
user "tmobile"
remotename tmobile
ipparam tmobile
usepeerdns
---
and in /etc/chatscripts/tmobile
---
# ispauth PAP
# abortstring
ABORT BUSY 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' "ATDT*99#"
# ispnumber
# OK-AT-OK "ATDT*99#"
# ispconnect
CONNECT \d\c
# prelogin
# ispname
# isppassword
# postlogin
-----
with
----
"tmobile" * "one2one"
----
in my chap-secrets
then tried using
pon tmobile
but light does not come on
running plog gives
last 2 lines as
chat[4923]: send (ATDT*99#^m)
chat[4923]: expect (CONNECT)
please can someone help as I'm not a linux xpert and the only way I have of using the internet is thru my uni.
ps uni works fine with my gf's laptop under XP
Similar problems for me
I have tried a very similar config with my Vario II (Hermes) with no avail. I have this working fine in XP & Vista x32 & x64.
I am also running Ubuntu 7.10 Gutsy. It would be great if someone could help on this issue as I suspect many people are trying to do this at the minute.
Dz
ok, was just being a luser
for some reason u have to use 'modprobe ipaq' instead of 'modprobe usbserial' then it works
Yipeeeeeeeeeeeeeeeeeeeeeeee!!!!
Related
Hi,all.
my system:
uname -a
Linux localhost 2.6.28-gentoo-r1
Click to expand...
Click to collapse
when my g-phone is connected
I get the message from dmesg
dmesg
[ 4648.550324] usb 2-6: New USB device found, idVendor=0bb4, idProduct=0c02
[ 4648.550326] usb 2-6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4648.550328] usb 2-6: Product: Android Phone
[ 4648.550330] usb 2-6: Manufacturer: HTC
[ 4648.550331] usb 2-6: SerialNumber: HT848GZ72398
[ 4648.550336] hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0040
Click to expand...
Click to collapse
then on g1 screen i choose "mount sd-card"
but KDE4.2.0 does not detect flash-card.
On windowsXP g1 as flashcard is working normally.
Ubuntu 8.04 \8.10 working norm too.
I think that the case in the kernel.
anyone can help with kernel .config?
You'd probably get better help on this from a Gentoo user forum, especially since you say it works fine under Kubuntu (as it does for me as well.)
I'd imagine it's a matter of hal configuration rather than the kernel. Search (on Google) for tips on enabling hal polling in Gentoo.
Do you have usb_storage loaded or enabled in your kernel? I don't see anything in your dmesg output about assigning your G1 to a device (/dev/sd#). Also - make sure you check the dmesg output AFTER you enable mounting the drive on the G1 - it won't present a USB storage device to gentoo until after this happens, so there might be additional output. If you do get additional output please post it here.
Do other USB drives work?
Try:
zcat /proc/config.gz | grep CONFIG_USB_STORAGE
If that doesn't work, try:
zcat /usr/src/linux/.config | grep CONFIG_USB_STORAGE
Make sure CONFIG_USB_STORAGE is set to "y" or "m". If not you'll need to rebuild your kernel. I'm sure a default kernel is going to include it - if you don't have it on then you most likely already know how to fix that.
I have to confess that I don't really use kde automounting much - I prefer the command line (especially since half the time I have more than one kde session open and I get all kinds of issues with dialog boxes opening up on a session I'm not looking at when I add a new device).
is hald service started?
Code:
/etc/init.d/hald status
if not, start it.
Code:
/etc/init.d/hald start
I have gentoo, and mounts fine (i use gnome).
For more help go to gentoo forums
rich0
zcat /proc/config.gz | grep CONFIG_USB_STORAGE
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
Click to expand...
Click to collapse
enlightener
/etc/init.d/hald status
* status: started
Click to expand...
Click to collapse
Do other USB drives work?
yes,it work for my psp and flash-disks
Hey, wondering if it would be possible to share the internet connection via wifi from reverse tether?
PC > Android > Wifi Hotspot > Other Device
Basically my 3G internet plan doesn't include tethering so I'm looking for a way to get internet on other devices in the room via wifi...
Though the computer does not have a wifi card so wondering if it would be possible to use the android device as a wifi switch?
I can connect my device to the internet through the PC connection via ADB Reverse USB Tunnel.. But then can I then enable wifi tethering to use that connection to share across the wifi for other devices to connect to and then share the same PC connection?
If its not possible I'm sure I'd be able to install drivers for one of my USB wifi cards, not ideal but if its the only way then I guess I'd have to.
Cheers, Dave
I also scoured everywhere and only thing i found was an app that allowed phone to use computer internet but don't think it broadcasted like Wi-Fi to other devices. I'll look in my Google play and try to locate it.
*Shaolin Shadowboxing*
I have my phone using the PC connection okay, but was looking to then share that through the phone wifi.. but I guess that wouldn't work.
I have a USB wifi adapter that I can setup to share the connection.
DavidTiger said:
I have my phone using the PC connection okay, but was looking to then share that through the phone wifi.. but I guess that wouldn't work.
I have a USB wifi adapter that I can setup to share the connection.
Click to expand...
Click to collapse
How is the pc connected to the internet?
Still Charged Up
Yes. Search reverse tether in play store.
*Shaolin Shadowboxing*
Connected via cable, there's no other connections available hence I was using USB Tethering on my Android phone..
Since there's no wifi available I'm just looking for a way to share it to others and my iPod etc..
JediNinjafication said:
Yes. Search reverse tether in play store.
Click to expand...
Click to collapse
I have reverse tethering working fine, Looking to see if it would be possible to then share that via wifi from the device.
Though I guess that would just slow things down and strain the phone a bit. I'll just setup the USB WiFi Adapter to share the connection
FOund Anything
HEy am trying to share my reverse tethering connection with another android phone. i successfully connected the android phone pop with my pc internet connection using usb tunnel (Reverse tethering). now i need to use the hotspot function on this phone to share the reverse tethered connection with other phones. IS THAT POSSIBLE ???
Reverse USB Tethered Connection Sharing via wifi?
CypherDroid said:
HEy am trying to share my reverse tethering connection with another android phone. i successfully connected the android phone pop with my pc internet connection using usb tunnel (Reverse tethering). now i need to use the hotspot function on this phone to share the reverse tethered connection with other phones. IS THAT POSSIBLE ???
Click to expand...
Click to collapse
Hey anyone found something for this issue ???
Managed to share reverse-tethered viw wifi-HotSpot!
I have managed to do it (provide access to PC's internet through android's wifi-hotspot) with linux-PC & Cyanogen-11 (hence "rooted") on a GS4 (i9505) with the following script. I had to manually set DNS at the bottom.
Code:
## 0.a. Connect android-phone to PC through USB.
## 0.b Enable Settings|...|Tethering
## (so that the device gets detected by the PC's kernel, you should see the following with 'dmsg':
## [ 3.976599] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:0b.0-1, RNDIS device, 4e:d5:8c:7b:4f:5a
## Enable Settings|...|Wifi-Hotspot
## Setup usb reverse-tethering.
# from: [url]http://forum.xda-developers.com/showthread.php?t=2287494[/url]
#
# Yours device might be 'rndis0' or something else. Check by just typing 'netcfg'.
#
netcfg usb0 dhcp
busybox route add default gw 10.42.0.1 dev usb0
## Disable mobile-data.
#
busybox ifconfig rmnet_usb0 0.0.0.0
## Masquerade through USB.
#
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -F
iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
iptables -P FORWARD ACCEPT
## Set DNS (if neccessary).
#
setprop net.dns1 XX.YY.ZZ.WW
ankostis said:
I have managed to do it (provide access to PC's internet through android's wifi-hotspot) with linux-PC & Cyanogen-11 (hence "rooted") on a GS4 (i9505) with the following script. I had to manually set DNS at the bottom.
Code:
## 0.a. Connect android-phone to PC through USB.
## 0.b Enable Settings|...|Tethering
## (so that the device gets detected by the PC's kernel, you should see the following with 'dmsg':
## [ 3.976599] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:0b.0-1, RNDIS device, 4e:d5:8c:7b:4f:5a
## Enable Settings|...|Wifi-Hotspot
## Setup usb reverse-tethering.
# from: [url]http://forum.xda-developers.com/showthread.php?t=2287494[/url]
#
# Yours device might be 'rndis0' or something else. Check by just typing 'netcfg'.
#
netcfg usb0 dhcp
busybox route add default gw 10.42.0.1 dev usb0
## Disable mobile-data.
#
busybox ifconfig rmnet_usb0 0.0.0.0
## Masquerade through USB.
#
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -F
iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
iptables -P FORWARD ACCEPT
## Set DNS (if neccessary).
#
setprop net.dns1 XX.YY.ZZ.WW
Click to expand...
Click to collapse
I have been looking for something like for .. forever, I am truely amazed to have finally find something that hints that it was done
did you really get it to work properly?
I have rooted 2.3 and xp,
if I have busy box installed and I run these via ssh server on my droid, should it work for my setup as well with no changes?
I am really surprised nobody ever made an app that does that automatically, this stuff is so basic and actually super useful and needed!
A random question but have you tried the "Fox-fi" app? i haven't tried to do this myself, but it's a little more flexible than the build in options, it may give you what you are looking for. I've used fox-fi in the past for abnormal tethering, short of going out and buying a cheap USB WiFi adapter of course..
tytiger said:
A random question but have you tried the "Fox-fi" app? i haven't tried to do this myself, but it's a little more flexible than the build in options, it may give you what you are looking for. I've used fox-fi in the past for abnormal tethering, short of going out and buying a cheap USB WiFi adapter of course..
Click to expand...
Click to collapse
in case you asked that me,
my rom has a built in hotspot feature, so I don't need an app for that
I am AMAZED that there are countries in which you are charged extra if you waste your already-paid 3g traffic via another medium that is not particularly your android.
really, next thing you you, you will be charged for having a private phonebook that helps you remember numbers instead of clicking on digits every time you want to call someone, because the cell-supplier wants you to pay extra to use it's phonebook app...
as far as I know from testing FoxFi, its not capable of turning the android into a router, thus bridging the two networks together
and by two networks, I mean the network created by connecting the android via usb to the pc,
and connecting the android via hotspot wifi to another pc/laptop/w'e
ankostis said:
I have managed to do it (provide access to PC's internet through android's wifi-hotspot) with linux-PC & Cyanogen-11 (hence "rooted") on a GS4 (i9505) with the following script. I had to manually set DNS at the bottom.
Code:
## 0.a. Connect android-phone to PC through USB.
## 0.b Enable Settings|...|Tethering
## (so that the device gets detected by the PC's kernel, you should see the following with 'dmsg':
## [ 3.976599] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:0b.0-1, RNDIS device, 4e:d5:8c:7b:4f:5a
## Enable Settings|...|Wifi-Hotspot
## Setup usb reverse-tethering.
# from: [url]http://forum.xda-developers.com/showthread.php?t=2287494[/url]
#
# Yours device might be 'rndis0' or something else. Check by just typing 'netcfg'.
#
netcfg usb0 dhcp
busybox route add default gw 10.42.0.1 dev usb0
## Disable mobile-data.
#
busybox ifconfig rmnet_usb0 0.0.0.0
## Masquerade through USB.
#
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -F
iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
iptables -P FORWARD ACCEPT
## Set DNS (if neccessary).
#
setprop net.dns1 XX.YY.ZZ.WW
Click to expand...
Click to collapse
did you really got the solution??
i tried it but it didnt work!!
plz post d whole procedure!!
plz plz plz....!!!!
thanks in advance
Siddhesh09 said:
did you really got the solution??
i tried it but it didnt work!!
plz post d whole procedure!!
plz plz plz....!!!!
thanks in advance
Click to expand...
Click to collapse
There's already a thread that goes into detail on this... See http://forum.xda-developers.com/showthread.php?t=2287494
Sent from my HTCONE using xda app-developers app
Doesn't work here with Galaxy S2 and samsung stock rooted rom. Will try later with Cyanogenmod.
ankostis said:
I have managed to do it (provide access to PC's internet through android's wifi-hotspot) with linux-PC & Cyanogen-11 (hence "rooted") on a GS4 (i9505) with the following script. I had to manually set DNS at the bottom.
Click to expand...
Click to collapse
Which device was it?
Didn't get it working here on cyanogemod 11 anyway, got reverse tethering as much. The op doesn't explain which commands are for the linux and which ones for the phone, and he's the only one that claims it works. A further explanation is necessary. Attachment is for clarification.
The ppp adapter in my case was rmnet0.
So, I modified it as:
## Disable mobile-data.
#
busybox ifconfig rmnet0 0.0.0.0
After following all the steps, I get internet connection on mozilla firefox on Android for a few seconds but then immediately firefox goes to offline mode. I am able to ping servers like facebook from terminal emulator and I am even able to get internet on default browser.
But I can neither get internet on Google Play apps nor get internet on my laptop to which I tethered my Android device using portable wifi hotspot.
What could be the possible issue here ?
---------- Post added at 06:14 PM ---------- Previous post was at 05:32 PM ----------
can you please explain the purpose of using -o flag in setting the NAT rule for masquerade ?
iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
I am assuming that usb0 here is the adapter through which the Android device recieves data from the system (Ubuntu Desktop in my case).
So how does usb0 become the output interface ?
Our intention is to share the reverse tethered network via portable wifi hotspot. So we need to masquerade all traffic recieved by the device to the wifi adapter say wlan0.
So shouldn't it be :
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
Or is there any need to specify an output adapter, because
Initially we did set up reverse tethering from the Linux Desktop (the Linux Desktop without GUI case) and there,
we masqueraded packets recieved from ethernet adapter (ethernet connection from wired router) to the usb adapter (usb used for reverse tethering).
For that we did not specify any output adapter anywhere.
So would this be fine :
iptables -t nat -A POSTROUTING -j MASQUERADE
Having said these, I was not able to successfully reverse tether as I was getting reverse tethered data only on terminal emulator and default browser and not on Google Play apps. I have added details in another comment for that.
got it working for me!
reversed tethering worked for me by following the instructions and calling "netcfg usb0 dhcp".
However the WiFi tethering didnt work at first: Other Devices could connect to my phone but no data was forwarded...
The problem was that iptables was not setup properly...
Now I just connect my phone to the pc, enable usb tethering and wifi tethering and run the following:
Code:
adb devices
pause
adb shell netcfg usb0 dhcp
adb shell busybox ifconfig rmnet0 0.0.0.0
adb shell echo 1 > /proc/sys/net/ipv4/ip_forward
adb shell iptables --flush
adb shell iptables --delete-chain
adb shell iptables --table nat --delete-chain
adb shell iptables --table nat -F
adb shell iptables --table nat -X
adb shell iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
adb shell iptables -P FORWARD ACCEPT
adb shell iptables -A FORWARD -i usb0 -o wlan0 -j ACCEPT -m state --state RELATED,ESTABLISHED
adb shell setprop net.dns1 8.8.8.8
Hope this helps
where did you posted the above codes ??
puit said:
got it working for me!
reversed tethering worked for me by following the instructions and calling "netcfg usb0 dhcp".
However the WiFi tethering didnt work at first: Other Devices could connect to my phone but no data was forwarded...
The problem was that iptables was not setup properly...
Now I just connect my phone to the pc, enable usb tethering and wifi tethering and run the following:
Code:
adb devices
pause
adb shell netcfg usb0 dhcp
adb shell busybox ifconfig rmnet0 0.0.0.0
adb shell echo 1 > /proc/sys/net/ipv4/ip_forward
adb shell iptables --flush
adb shell iptables --delete-chain
adb shell iptables --table nat --delete-chain
adb shell iptables --table nat -F
adb shell iptables --table nat -X
adb shell iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
adb shell iptables -P FORWARD ACCEPT
adb shell iptables -A FORWARD -i usb0 -o wlan0 -j ACCEPT -m state --state RELATED,ESTABLISHED
adb shell setprop net.dns1 8.8.8.8
Hope this helps
Click to expand...
Click to collapse
where to paste the above codes ?
After reading several posts on mac spoofing and having failed to find a working thread.I decided to fill in the gaps with my linux knowledge (however little of that I may have).
So this method seems to solve some issues I've seen (MAC not changing because device wasn't downed) in these threads:
http://forum.xda-developers.com/showthread.php?t=1385577
http://forum.xda-developers.com/showthread.php?t=902354
without editing the nvram.txt
I've tested the ip link method on my recently rooted Samsung Tab 2 7.0"
Changing your mac address:
Prerequisites:
*A rooted device
*Busybox
*Terminal emulator
*Turn wifi on from your device's menu, do not connect to any network.
*Open your terminal emulator, now type:
$su
#ip link
*This should list all networking interfaces, identify your wifi device, take note of the name. now:
#ip link set NAME down
#ip link set NAME address 00:11:22:33:44:55
#ip link set NAME up
I believe that when using ifconfig the procedure is as follows:
$su
#ifconfig
*Take note of the device name
#ifconfig NAME down
#ifconfig NAME hw ether 00:11:22:33:44:55
#ifconfig NAME up
After doing the above you can connect to the desired network normally, using the default / other user interfaces.
NOTE: The mac address will be reset when WIFI is switched off.
I have confirmed the ip link method to be working. i.e. transmitted mac address is the new / changed one!
Actually in my case (SGS) i had to restart wifi first and then (while it's starting) quickly change the MAC using:
Code:
busybox ifconfig wlan0 hw ether 00:11:22:33:44:55
Important: It must be done about 500ms after enabling wifi, otherwise it won't work.
If I change MAC when wifi is off it simply returns to the original during next start.
Worked on i9000 with CM9 / 10
pawci0 said:
Actually in my case (SGS) i had to restart wifi first and then (while it's starting) quickly change the MAC using:
Code:
busybox ifconfig wlan0 hw ether 00:11:22:33:44:55
Important: It must be done about 500ms after enabling wifi, otherwise it won't work.
If I change MAC when wifi is off it simply returns to the original during next start.
Worked on i9000 with CM9 / 10
Click to expand...
Click to collapse
So downing the interface before changing and uping afterwards doesn't work?
i want to learn well the mac spoofing
setoPul Wilcox
this is actually incredibly useful, I got MACblocked off a network near college. thanks!
Doesn't work for me
Code:
# su
# ifconfig tiwlan0 down
# ip link set tiwlan0 address 00:11:22:33:44:55
ip: SIOCSIFHWADDR: Operation not supported on transport endpoint
# ifconfig tiwlan0 hw ether 00:11:22:33:44:55
error: SIOCSIFADDR (Invalid argument)
I guess its a kernel/driver problem... at least I know it works on normal Linux systems.
Itcouldbeyou said:
Doesn't work for me
Code:
# su
# ifconfig tiwlan0 down
# ip link set tiwlan0 address 00:11:22:33:44:55
ip: SIOCSIFHWADDR: Operation not supported on transport endpoint
# ifconfig tiwlan0 hw ether 00:11:22:33:44:55
error: SIOCSIFADDR (Invalid argument)
I guess its a kernel/driver problem... at least I know it works on normal Linux systems.
Click to expand...
Click to collapse
Funny that only some manufacturers disable such features. You could always try editing the nvram file? I haven't tried it though.
Isnt it dangerous ?
Script to apply random mac
I've made a script to create a random ghost mac every time I run it on the terminal emulator with su.
Code:
macaddr="52:54:$(dd if=/dev/urandom count=1 2>/dev/null | md5sum | sed 's/^\(..\)\(..\)\(..\)\(..\).*$/\1:\2:\3:\4/')"
ip link set wlan0 down
ip link set wlan0 address $macaddr
ip link set wlan0 up
I've named it as gmac.sh and saved it on /sdcard/, thus by running:
Code:
$ su
# sh /sdcard/gmac.sh
the mac is changed.
Regards :cyclops:
Works differently on HTC Desire
Hello,
This is just to "set in stone" somewhere in the Internet that on some devices, you need *not* to down and up the network interface. Otherwise, the network driver will restore its MAC address from hardware/driver settings.
On a HTC Desire, MAC spoofing works this way:
* turn on the wifi interface using the standard Android interface
* run this script :
Code:
macaddr="52:54:$(dd if=/dev/urandom count=1 2>/dev/null | md5sum | sed 's/^\(..\)\(..\)\(..\)\(..\).*$/\1:\2:\3:\4/')"
ip link set wlan0 address $macaddr
Best regards,
On some devices (e.g. HTC Desire among others), the wifi GUI still resets the mac address even with the method described in this thread.
worstenbrood has modified the wifi driver so that the mac address can be configured from a text file. It is described here:
http://forum.xda-developers.com/showthread.php?t=1525230
This is compatible with the wifi GUI and solves the problem of the wifi interface reloading its original mac address.
Anyone interested, I have backported his modifications to the latest state of the kernel developement in CM7.
thanks!
I get a 'operation not supported on transport endpoint' error when running the 'ip link set wlan0 address 00:11:22:33:44:55' and a about the same error with busy box.
Thanks for this! Gonna try this later.
damien.courousse said:
Hello,
This is just to "set in stone" somewhere in the Internet that on some devices, you need *not* to down and up the network interface. Otherwise, the network driver will restore its MAC address from hardware/driver settings.
On a HTC Desire, MAC spoofing works this way:
* turn on the wifi interface using the standard Android interface
* run this script :
Code:
macaddr="52:54:$(dd if=/dev/urandom count=1 2>/dev/null | md5sum | sed 's/^\(..\)\(..\)\(..\)\(..\).*$/\1:\2:\3:\4/')"
ip link set wlan0 address $macaddr
Best regards,
Click to expand...
Click to collapse
anyone help me mine Hcl me 2G 2.0 i can't change mac please help me....
Dear friends,
I have rooted nexus 7 2012, and installed PPP widget. I have configured the APN. It says "connected", but the internet is not working. Here is the PPP widget log, please help me:
PPP Widget version 1.3.3
USB_ModeSwitch log from Mon Dec 23 15:00:41 IST 2013
Raw args from udev: 2-1/2-1:1.0
Using top device dir /sys/bus/usb/devices/2-1
----------------
USB values from sysfs:
manufacturer USB Modem
product USB Modem
serial 1234567890ABCDEF
----------------
bNumConfigurations is 1 - don't check for active configuration
SCSI attributes not needed, moving on
checking config: /data/data/de.draisberghof.pppwidget/app_tmp/1c9e.f000
! matched. Reading config data
devList 1:
config: TargetVendor set to 1c9e
config: TargetProductList set to 9000,9603,9605,9607
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 2 -g 2 -v 1c9e -p f000 -f $cB
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------
Reading long config from command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.7 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1c9e
DefaultProduct= 0xf000
TargetVendor= 0x1c9e
TargetProduct= not set
TargetClass= not set
TargetProductList="9000,9603,9605,9607"
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
QuantaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
BlackberryMode=0
PantechMode=0
MessageEndpoint= not set
MessageContent="55534243123456788000000080000606f50402527000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 002/002 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 1c9e:f000
found matching vendor ID
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Skipping the check for the current configuration
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: USB Modem
Product: USB Modem
Serial No.: 1234567890ABCDEF
-------------------------
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
Bus/dev search active, referring success check to wrapper. Bye.
ok:busdev
--------------------------------
(end of usb_modeswitch output)
Checking success of mode switch for max. 20 seconds ...
Reading attributes ...
Reading attributes ...
Mode switch has completed
Mode switching was successful, found 1c9e:9605 (USB Modem: USB Modem)
Device class of first interface is ff
Now checking for bound driver ...
Driver has bound, device is known
All done, exiting
Hello
I want to launch a command to activate the WiFi and some time data 4g , to connect the WiFi has ex: tv, DD ... And to use data her 3g some time free in. I have the base of the script to activate and deactivate that, but I do not has to locate drivers wlan of galaxy note 3, somebody would be him or they find it??
The scrpt is :
Code:
# enable dual-networking:
pkill dhcpcd
svc wifi disable
svc data enable
netcfg wlan0 up
cd /data/misc/wifi/.
wpa_supplicant -B -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
dhcpcd wlan0
but in first ,it is nécessary to load the driver.
thanks
no one have work this script on 9005 or localized this wlan driver ??