gksudo gedit /etc/rc.local
matthias2223 wrote:Hello, I'm a recent convert to the world of Linux and am liking it so far. I'm currently using Linux Mint 12 on a Dell Inspiron E1505. Most things worked well right out of the box except for my internet connection.
I had slow connection speeds and constant disconnects with my Alfa AWUS036H USB Network Adapter (uses rtl8187 driver) as compared to when I was running Windows. I disabled my onboard wireless adapter in my BIOS setting so that it wouldn't interfere with the Alfa Adapter.
I found a page on ArchLinux.org that explained that my problem was in some of the driver settings, namely the rate, rts, and fragmentation thresholds. When I entered the code they suggested my connection sped back up and the disconnects stopped. So far it seems to have fixed my network issues. The only remaining problem is that I have to reenter these commands every time after I reboot.
My question is how can I make my system run these commands automatically at startup so that I won't have to continue doing it manually?
If it helps, these are the commands I give:
sudo iwconfig wlan0 rate 5.5M fixed
sudo iwconfig wlan0 frag 2346
sudo iwconfig wlan0 rts 2347
Users browsing this forum: all41 and 28 guests