Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Saturday, July 25, 2015

Manjaro 0.8.13 x64 and Asus USB-N13 B1

I have been using Manjaro Linux + Xfce for a while now and I am very satisfied with the overall performance and simplicity of this distro.
I have a  Asus USB-N13 B1 and the default installation used a driver that would not give enough speed. The signal strength also stayed under 90%.
Make sure the revision is in fact B1. There's a different revision, A1 that uses a different chipset and this procedure will not work.
It's quite easy to install a proper driver for this USB wifi dongle.
I used yaourt to install 8192CU driver from AUR. I have 3.18.18.1 Linux kernel and also installed the linux headers for this. I don't think this step was necessary, since it seems the dependencies pull these when installing the driver.
The driver install may error out with this:
modprobe: ERROR: could not insert '8192cu': Device or resource busy
but the driver installation actually goes through. Just restart the machine and make sure lsmod shows the 8192cu loaded. Also, the installation will create a blacklist file (blacklist-8192cu-dkms.conf ) at /etc/modprobe.d location. This will blacklist the installed rtl8192cu etc. drivers.
Ran into an issue with the next manjaro update. The update included a kernel upgrade from the original 3.18.18.1 to 3.18.20-1-MANJARO, and it broke the driver. Ideally the kernel upgrade is supposed to reconfigure all the dkms modules, but in this case it did not, and I was unable to connect to the internet.
The best thing to do after a kernel upgrade is to manually run the following command. Do this before restarting the machine, so you are not left without an internet.
$ sudo dkms autoinstall
Optionally, you can specify the kernel module as well.
$ sudo dkms autoinstall -k $(uname -r)

Tuesday, March 22, 2011

Ubuntu 10.10 Linux - Using wired for LAN and wireless for internet SIMULTANEOUSLY!

From my post @ http://ubuntuforums.org/showthread.php?p=10590567#post10590567

Amazing, finally its all working!!

Setup: Ubuntu 10.10 connects to the internet using wireless (wlan0) and it also connects to my iMac running Snow Leopard 10.6.6 over the lan (eth0). I have also configured netatalk and avahi so my Linux machine shows up in iMac thru zero conf/Bonjour (No manual connection required. Excellent writeup here)
The suggestions from the post pointed me in the right direction, but it did not work for me. I had to add some of my own tweaks before my networking adventure got on the road!
Steps:
1. I am using Network Manager. I removed Wicd Network Manager since I was looking for this option "Use this connection only for resources on this network"
2. As per quote 2, add a wired connection manually (iMac LAN). Setup is: fig. iMac LAN

Then configure a static IP as shown in fig. LAN.

3. For this LAN connection, using NM add the route details and check "Use this connection only for resources on this network" option after clicking "Routes".

4. I left wireless as is, but here it is in fig. wlan0

The config is now as shown in fig. wireless


5. Additionally, I configured the Network settings on the iMac. Go to System Preferences>Networking>Select 'Ethernet' on the left and for 'Configure IPv4' as Using DHCP with manual address. I used 169.254.26.55/255.255.0.0. This works with the LAN settings!

And now I am streaming movies from my RAID 5 on my Linux to the iMac over this LAN and using the internet on the Linux machine as well. Note: Somehow iMac chose this LAN interface over the wireless one! My avahi configuration does not have any interface info. BTW I need to be able to use the Linux RAID for my laptop over the wireless. Talk about a simple setup .

I am sure a nifty /etc/network/interfaces file config can do the same. But for now this is the Eureka moment !


Quote:
Originally Posted by gpgp
I want to connect to 2 physical networks. I am using my wired to go to lan used for machine control. And using my wireless to connect to the lan attached to the internet.

It seems i cannot use both at the same time in Karmic. If i open a web page via wireless then plug in to the machine control lan with my wired connection, i can no longer get web pages via wireless. The settings for wired are over riding the wireless and it doesn't try the wireless connection.
Can anyone help with this ?
Thanks
gpgp

I found it. there is a box to check : use this connection only for resources on this network. System> Prefernces> Network Connections> Select conection, edit> ip4 tab> routes button> check box.
Thanks, hope this helps someone else.

Quote:
Originally Posted by houstonbofh

If I am reading this right, you want to browse the Internet on wlan, while also connecting to a single network on lan. This is easy.

1) Right click on your network manager icon, and select 'Edit Connections.'
2) Under 'Wired' click '+ Add'
3) Name it something, uncheck 'connect automatically' select the 'IPV4' tab, and give yourself static IP, but do not fill in the gateway.

By not putting a gateway in, your lan interfaces has no default gateway, so the wlan one can be used. Otherwise the lan gateway takes precedence.