Showing posts with label wifi. Show all posts
Showing posts with label wifi. Show all posts

Saturday, 30 November 2019

WiFi 101


wifi 101

  • The WiFi radio waves are very similar to the radios used for cell phones and other devices.
    They can convert 1s and 0s into radio waves and convert the radio waves back into 1s and 0s.
  • Wifi can transmit from 2.4 GHz or 5 GHz
  • 5G wifi (802.11ac) is the newest standard as of early 2013.
wifi radio waves RSSI
/System/Library/PrivateFrameworks/Apple*.framework/Versions/Current/Resources/airport -I
     agrCtlRSSI: -44
     agrExtRSSI: 0
    agrCtlNoise: -92
    agrExtNoise: 0
          state: running
        op mode: station 
     lastTxRate: 1170
        maxRate: 1300
lastAssocStatus: 0
    802.11 auth: open
      link auth: wpa2-psk
          BSSID: _:_:_:_:_:_
           SSID: progessive_energy_5g
            MCS: 9
        channel: 153,80
Closer I move to router better signal strength I receive.
jshell> var signalToNoiseRatio = -44 - (-92)
signalToNoiseRatio ==> 48
Higher SNR margin values mean clearer signals.

RSSI table

RSSIdesc
-30 dBmMaximum signal strength (NEAR)
-50 dBmexcellent signal strength
-60 dBmreliable signal strength
-67 dBmreliable signal strength
-70 dBmNot a strong signal. Light browsing and email.
-80 dBmUnreliable signal strength, will not suffice for most services. Connecting to the network.
-90 dBmThe chances of even connecting are very low at this level.


Friday, 16 August 2013

Making Ncell Connect work for linux

Making Ncell Connect work for linux

STEP 1 : install usb-modeswitch
USB_ModeSwitch is a mode switching tool for controlling "flip flop" (multiple device) USB gear.

$ sudo -s
$ apt-get install usb-modeswitch

STEP 2 : cat rules for ncell-connect

root@prayag:~# cat > /etc/udev/rules.d/99-ncell-connect.rules <<EOT
 # Ncell Connect switch mode to usbserial (E1550 device id => 12d1:1446)
 SUBSYSTEM=="usb", ATTRS{idProduct}=="1446", ATTRS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"
 EOT

STEP 3 configure network provider
Insert the device and goto Network settings at right corner of ubuntu 12.04.

Create a broadband connection under Mobile Broadband.



Then select country as Nepal, network provider as Mero Mobile, and billing plan as default.



REFERENCES
[1] Mobile Broadband Set-up In Ubuntu 11.04
http://www.muktware.com/1063/mobile-broadband-set-ubuntu-1104

[2] How to auto connect Ubuntu 12.04 USB GSM Mobile Broadband Connection on Boot as startup service without user login using Network Manager CLi,
http://www.thefanclub.co.za/how-to/how-auto-connect-ubuntu-1204-gsm-mobile-broadband-connection-on-boot-startup-service

[3] SMS From Ncell Connect Data SIM Card And Ubuntu How To, (September 7, 2011)
http://techspalace.blogspot.com/2011/09/sms-from-ncell-connect-data-sim-card.html