Phone Tethering / WiFi Adapter Compatibility

Discuss the security implications of the various flavors of linux and unix

Phone Tethering / WiFi Adapter Compatibility

Post by Timeghost on Wed Feb 27, 2013 2:10 am
([msg=74229]see Phone Tethering / WiFi Adapter Compatibility[/msg])

So, I'd like to help contribute to the community, but in my own minor way. I can't do it very often, but I'm glad to at least have the opportunity to do so at all.

I want to help provide people with the help and means to be able to access the internet from Linux distros like Ubuntu, but for USB modems, such as the Novatel Wireless USB727 modem. I don't have anybody sending me old modems like that that they don't use anymore, and I really don't have the funds at the moment to get one, as I'm in-between jobs at the moment (I just moved). But all I have after the move are a couple of articles that were posted to my Facebook detailing how to make them work in Ubuntu (and some BackTrack version, both of these distros are old as of now, however. Oh. And Linux Mint Helena). Nowadays, at least a couple of the modems I've worked with are usable just by plugging it in. Which is a great development.

Let's try and keep a certain audience in mind. For example, my father can hardly access his email account without running into something (lol, how? :P). So. as a new Linux user, trying to get the internet with only a USB modem at his disposal can be quite difficult - especially if you need to download a package or something.

So, here's the thing, which kinda just fell into my lap,.. My dad no longer wishes to use his USB modem as he dislikes the carrier, Cricket Communications. He gives me an LG Optimus Elite, and asks me to tether it. It is now rooted.
I also have a NetGear WNA1100 N150 Wireless USB Adapter. I think the chipset is either Anatel or Atheros... Anatel is written on the bottom of the device, but using 'lsusb', it reads 'Atheros' something. I'll post a lsusb result later...

Here's what I'd like to accomplish with this:

> I'd like to have a wired connection, preferably. I have EasyTether for this purpose, on the phone and the computer that we'll be using for this. It's running Lubuntu 12.10.

> I'd like to have a wireless connection, but it has a problem. I'm using Barnacle on the phone, and it works with the wireless adapter. But for some reason, the wireless adapter just stops working, I don't know why this is, I'm completely stumped. It seems to crap out on me at random. Plugging it in again after a few seconds seems to get it back online, until whenever it decides to go on strike again, lol.

> I just installed Lubuntu on the computer I am going to be using, so I haven't made a rules file for the phone yet. I'm already contemplating renaming 70-persistent-net.rules and keeping it as a backup.

I just can not seem to get the wired connection to work. I've installed the easytether.deb with sudo dpkg -i easytether*, but trying to connect is just impossible, it seems. I've honestly never had so much trouble with either of these kind of connections, any help would be wonderful.

I'd really like to have one or two articles written about this, as I feel it may benefit the Ubuntu community. It's something that not a lot of people find help for, and, again, I'm doing this with people like my dad in mind. Who have minimal working knowledge of computer operations and whatnot.

-- Wed Feb 27, 2013 2:16 am --

I'm also not really willing to use other resources like ndiswrapper. Just a matter of personal preference. But I am more than willing to use whatever is suggested at this point.

-- Wed Feb 27, 2013 11:16 am --

Okay, here is the output of some of the commands I've used so far.

    nmcli nm status
Code: Select all
RUNNING         STATE           WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN     
running         connected       enabled         enabled    enabled         disabled 


    lspci -nnk | grep -iA2 net
Code: Select all
00:07.0 Bridge [0680]: NVIDIA Corporation MCP61 Ethernet [10de:03ef] (rev a2)
   Subsystem: Acer Incorporated [ALI] Device [1025:0153]
   Kernel driver in use: forcedeth


    lsmod
Code: Select all
Module                  Size  Used by
bnep                   18140  2
rfcomm                 46619  0
bluetooth             209199  10 bnep,rfcomm
parport_pc             32688  0
ppdev                  17073  0
arc4                   12529  2
ath9k_htc              91402  0
snd_hda_codec_realtek    77876  1
mac80211              539908  1 ath9k_htc
nouveau               895609  3
ath9k_common           14055  1 ath9k_htc
ath9k_hw              395218  2 ath9k_htc,ath9k_common
snd_hda_intel          33491  1
snd_hda_codec         134212  2 snd_hda_codec_realtek,snd_hda_intel
ath                    23827  3 ath9k_htc,ath9k_common,ath9k_hw
ttm                    83595  1 nouveau
kvm_amd                55604  0
joydev                 17457  0
kvm                   414070  1 kvm_amd
snd_hwdep              13602  1 snd_hda_codec
drm_kms_helper         46784  1 nouveau
snd_pcm                96580  2 snd_hda_intel,snd_hda_codec
cfg80211              206566  3 ath9k_htc,mac80211,ath
drm                   275528  5 nouveau,ttm,drm_kms_helper
acer_wmi               32453  0
snd_seq_midi           13324  0
sparse_keymap          13890  1 acer_wmi
psmouse                95552  0
edac_core              52451  0
snd_rawmidi            30512  1 snd_seq_midi
edac_mce_amd           23303  0
snd_seq_midi_event     14899  1 snd_seq_midi
i2c_algo_bit           13413  1 nouveau
snd_seq                61521  2 snd_seq_midi,snd_seq_midi_event
serio_raw              13215  0
k8temp                 12978  0
mxm_wmi                12979  1 nouveau
snd_timer              29425  2 snd_pcm,snd_seq
video                  19335  2 nouveau,acer_wmi
snd_seq_device         14497  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    78734  11 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
mac_hid                13205  0
wmi                    19070  3 nouveau,acer_wmi,mxm_wmi
i2c_nforce2            13013  0
soundcore              15047  1 snd
snd_page_alloc         18484  2 snd_hda_intel,snd_pcm
lp                     17759  0
parport                46345  3 parport_pc,ppdev,lp
pata_amd               14118  0
forcedeth              67156  0
sata_nv                31830  2
usb_storage            48838  0


    lsusb
Code: Select all
Bus 001 Device 022: ID 0846:9030 NetGear, Inc. WNA1100 Wireless-N 150 [Atheros AR9271]
Bus 001 Device 004: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


    iwconfig
Code: Select all
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"The WiFi" 
          Mode:Ad-Hoc  Frequency:2.437 GHz  Cell: 02:45:BF:A2:BF:A2   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off


    ifconfig
Code: Select all
eth0      Link encap:Ethernet  HWaddr 00:26:2d:11:11:53 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:5172 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:528513 (528.5 KB)  TX bytes:528513 (528.5 KB)

wlan0     Link encap:Ethernet  HWaddr 2c:b0:5d:61:20:b6 
          inet addr:192.168.5.100  Bcast:192.168.5.255  Mask:255.255.255.0
          inet6 addr: fe80::2eb0:5dff:fe61:20b6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1242 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1406 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:464417 (464.4 KB)  TX bytes:262498 (262.4 KB)


    iwlist wlan0 scan
Code: Select all
wlan0     Scan completed :
          Cell 01 - Address: 02:45:BF:A2:BF:A2
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=-39 dBm 
                    Encryption key:off
                    ESSID:"The WiFi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Mode:Ad-Hoc
                    Extra:tsf=000000002944cf08
                    Extra: Last beacon: 54584ms ago
                    IE: Unknown: 0016464249205375727665696C6C616E63652056616E2036
                    IE: Unknown: 010482848B96
                    IE: Unknown: 030106
                    IE: Unknown: 07245553490101170201170301170401170501170601170701170801170901170A01160B0116
                    IE: Unknown: 2A0103
                    IE: Unknown: DD180050F2020101060003A4000027A400004243BC0062326600



    nm-tool
Code: Select all
NetworkManager Tool

State: connected (global)

- Device: wlan0  [The WiFi] --------------------------------------
  Type:              802.11 WiFi
  Driver:            ath9k_htc
  State:             connected
  Default:           yes
  HW Address:        2C:B0:5D:61:20:B6

  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    *The WiFi: Ad-Hoc, 02:45:BF:A2:BF:A2, Freq 2437 MHz, Rate 11 Mb/s, Strength 100

  IPv4 Settings:
    Address:         192.168.5.100
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.5.1

    DNS:             68.29.1.7
    DNS:             68.29.9.7


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            forcedeth
  State:             unavailable
  Default:           no
  HW Address:        00:26:2D:11:11:53

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off



    Timeghost
    New User
    New User
     
    Posts: 30
    Joined: Tue Jul 15, 2008 2:48 pm
    Location: Nevada, United States of America
    Blog: View Blog (0)


    Return to *nix

    Who is online

    Users browsing this forum: No registered users and 0 guests