samsung-wireless on lubuntu 14.04

Discussions about Linux installation and configuration on Samsung laptops
msfarrar
Newbie
Newbie
Posts: 4
Joined: 21/05/2014, 9:01

samsung-wireless on lubuntu 14.04

Postby msfarrar » 21/05/2014, 9:19

Ive installed win7 starter and lubuntu 14.04 on a samsung n145 jp02au netbook which ive just bought

Ive succesfully installed samsung-tools. I can brighten screen and change volume using fn up-down arrows.. so thats all good...

However I do not have a wireless icon on the bottom right of the screen on the toolbar..

So no way to enable wireless when in lubuntu 14.04

I can only 'see' samsung-tools in the ppa repository ..-laptop,-backlight,-wireless,-easy-slow-down-manager are not present. I presume they are now all included in samsung-tools rather than in a seperate package?


The wireless works fine under Win7 so what am I missing ??

Many Thanks

msfarrar
Newbie
Newbie
Posts: 4
Joined: 21/05/2014, 9:01

Re: samsung-wireless on lubuntu 14.04

Postby msfarrar » 22/05/2014, 0:48

Just double checked that my wireless drivers are correctly configured
All looks good to me , but I am a ubuntu newbie

mike@N145NETBOOK:~$ sudo lshw -class network
*-network
description: Wireless interface
product: AR9285 Wireless Network Adapter (PCI-Express)
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:05:00.0
logical name: wlan0
version: 01
serial: 4c:ed:de:64:63:1f
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=3.13.0-24-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:16 memory:f0100000-f010ffff
*-network
description: Ethernet interface
product: 88E8040 PCI-E Fast Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:09:00.0
logical name: eth0
version: 00
serial: 00:24:54:e9:60:46
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 duplex=full ip=10.1.1.29 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:44 memory:f0200000-f0203fff ioport:2000(size=256)
mike@N145NETBOOK:~$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: samsung-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no

msfarrar
Newbie
Newbie
Posts: 4
Joined: 21/05/2014, 9:01

Re: samsung-wireless on lubuntu 14.04

Postby msfarrar » 22/05/2014, 14:57

I've sorted out my problems myself .
Thanks to Fortunato Ventre for all your work. Much appreciated

arthur
Newbie
Newbie
Posts: 1
Joined: 23/05/2014, 14:35

Re: samsung-wireless on lubuntu 14.04

Postby arthur » 23/05/2014, 14:40

Hey msfarrar,
I have the same problem here. Can you describe how you solved it?

msfarrar
Newbie
Newbie
Posts: 4
Joined: 21/05/2014, 9:01

Re: samsung-wireless on lubuntu 14.04

Postby msfarrar » 07/06/2014, 3:56

Firstly, install wpa_gui if you havent done so already . You should be able to find asnd install it by searching Synaptic Package Manager

1)Get encrypted pka2 passphrase,for your wireless SSID to be used later when editing wpa_supplicant.conf
sudo wpa_passphrase <your-SSID> <your-wpa2-passphrase>
The output looks similar to :
network={
ssid="ii270769primary"
psk=e7d3b1558552b0e492d51599a8e8534cd7addb6dd71c58fd49e79d24f6181826
}


2)If it doesnt exist, create /etc/wpa_supplicant.conf and seed it with initialcontent.
sudo vi /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=2
update_config=1

3)Check if wpa_supplicant is already running
sudo ps -ef | grep wpa_supplicant

4) If it isnt't start it, else skip this step
#Start wpa_supplicant :
sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B

5) start wpa_gui ( Note MUST be run as root, else you see no networks when you run a scan)
sudo wpa_gui

scan for networks, double right click the relevant one,
add psk key details from earlier step and save

Should end up with a /etc/wpa_supplicant.conf that looks like dimilar to this:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=2
update_config=1

network={
ssid="ii270769primary"
psk=e7d3b1558552b0e492d51599a8e8534cd7addb6dd71c58fd49e79d24f6181826 "
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}


Once you've done all of the above we should be able to connect to the wireless network by
1) starting wpa_gui as root
2) from 'Manage Network' tab, scan for available networks.
3) Select wireless network, enter passphrase and save
4 From 'Current Status' tab , connect


You can probably short cut some of the early configuration steps as they seem to be obsoleted by my having to scan and enter psk key every time I connect !! But anyhow, it works for me :) You should have enough info here to get it working
Good Luck

other useful commands
samsung-tools -W status
samsung-tools -W on
samsung-tools -W off

robertomrc
Newbie
Newbie
Posts: 6
Joined: 05/06/2014, 14:08

Re: samsung-wireless on lubuntu 14.04

Postby robertomrc » 07/06/2014, 10:48

msfarrar wrote:Firstly, install wpa_gui if you havent done so already . You should be able to find asnd install it by searching Synaptic Package Manager

1).......


thank you!

Before the people try your solution, I propose my resolution, it's much faster.

After the installation of samsung tools, digit:
iwconfig

for wifi name, tipically wlan0

Then, set the bit rate to 11Mb on wlan0 (or your name):
sudo iwconfig wlan0 rate 11M

Then, set it in auto mode:
sudo sed -i '/^exit 0/i iwconfig wlan0 rate 11M' /etc/rc.local

End reboot.

My wifi work! :D


Return to “Linux On My Samsung”

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest