Announcement

Collapse
No announcement yet.

WiFi, KDE and zero knowledge

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    WiFi, KDE and zero knowledge

    Hi!

    You can call me liar, but I have never used WiFi earlier Now I want it - am going to install Maverick on new my junior son's PC. Have bought two ASUS USB-N11 adapters. The aim is to share my internet access (ADSL/pppoe) with my son. All ubuntu tutorials I have found refer to GNOME-specific tools rather KDE ones. Has anybody some useful refs? I mean both configuring and common WiFi knowledge.

    BTW, CLI-way is appreciated also!

    Just now I have on my PC:

    ~$ iwconfig
    ...
    wlan0 IEEE 802.11bgn ESSIDff/any
    Mode:Managed Access Point: Not-Associated Tx-Power=19 dBm
    Retry long limit:7 RTS thrff Fragment thrff
    Power Managementn

    #2
    Re: WiFi, KDE and zero knowledge

    Originally posted by ilna
    ....
    Just now I have on my PC:

    ~$ iwconfig
    ...
    wlan0 IEEE 802.11bgn ESSIDff/any
    Mode:Managed Access Point: Not-Associated Tx-Power=19 dBm
    Retry long limit:7 RTS thrff Fragment thrff
    Power Managementn
    Your wireless was detected automatically, it seems. All you need to do now is configure it.
    You should have KNetworkManager's icon in your system tray. Click on it and in the dialog menu that pops up should, after scanning, display nearby access points, including your wifi. Click on the "Properties" dialog and configure your connection type and password. Close that dialog, return to the previous one, give the connection a name and check the box marked Autoconnect.
    THen click the "connect" button.

    Let us know what happens.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Re: WiFi, KDE and zero knowledge

      The thing is, I have two PC needed to be connected to enable for second one to access internet. Just now I have configure AP/hostapd (this PC in connected to net via ADSL/pppoe):

      Code:
      interface=wlan0
      driver=nl80211
      ssid=myAp
      country_code=RUS
      hw_mode=g
      channel=11
      
      macaddr_acl=0
      
      wpa=1
      wpa_key_mgmt=WPA-PSK
      wpa_passphrase=tratata
      rsn_pairwise=CCMP
      with this wlan0 interface in /etc/network/intefaces:
      Code:
      auto wlan0
      iface wlan0 inet static
      address 10.8.0.1
      network 10.8.0.0
      netmask 255.255.255.0
      broadcast 10.8.0.255
      Also I have installed dhcp3 server with /etc/dhcp3/dhcpd.conf:

      Code:
      ddns-update-style none;
      option domain-name "myNet";
      option domain-name-servers 208.67.222.222, 208.67.220.220;
      default-lease-time 42300;
      max-lease-time 84600;
      log-facility local7;
      subnet 10.8.0.0 netmask 255.255.255.0 {
       range 10.8.0.100 10.8.0.200;
       option routers 10.8.0.1;
      }
      and /etc/default/dhcp3-server:
      Code:
      INTERFACES="wlan0"
      Also have added to iptables:

      Code:
      sudo /sbin/iptables -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmt
      sudo /sbin/iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j MASQUERADE
      hostapd does start with this config, and from another client PC (Kubuntu Maverick was installed from CD) I see this the AP:

      Code:
      ~# iwlist wlan0 scan
      wlan0   Scan completed :
           Cell 01 - Address: tratata
                Channel:11
                Frequency:2.462 GHz (Channel 11)
                Quality=70/70 Signal level=48 dBm 
                Encryption key:on
                ESSID:"myAP"
                Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                     9 Mb/s; 12 Mb/s; 18 Mb/s
                Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                Mode:Master
                Extra:tsf=00000000444124b3
                Extra: Last beacon: 470ms ago
                IE: Unknown: 0006616E6C694150
                IE: Unknown: 010882848B960C121824
                IE: Unknown: 03010B
                IE: Unknown: 2A0100
                IE: Unknown: 32043048606C
                IE: WPA Version 1
                  Group Cipher : TKIP
                  Pairwise Ciphers (1) : TKIP
                  Authentication Suites (1) : PSK
      I have configured connection on client PC with defaults wrt IP (dhcp), WPA/WPA2 Personal security, Infrastructure mode, BSSID as MAC in AP. Clicking on this connection does nothing.

      Where to dig in? Which additional information I must supply?

      Comment


        #4
        Re: WiFi, KDE and zero knowledge

        Also I have found such log message in sync with wifi disabling/enabling via applet checkbox:
        Code:
        ADDRCONF(NETDEV_UP): wlan0: link is not ready

        Comment

        Working...
        X