k311 Posted July 1, 2008 Share Posted July 1, 2008 (edited) I am suspecting that my ubuntu laptop is causing some trouble on my home wireless network. the router is losing connections and things when it wasnt before i added this pc to the network. from reading, it seems that the problem might be the MTU setting on my ubuntu machine. From the network tools dialog, it looks like my MTU for my wireless card is set at 1500. the network router is operating at 1492. so i thought "ok well i will just manually set the MTU in ubuntu" well, that has proven to be very difficult. I did some googling, and the consensus seemed to be to edit /etc/network/interfaces and add these lines: iface eth0 inet dhcp pre-up /sbin/iwconfig $IFACE mtu 1492 (except to replace eth0 with my device, which on this computer is wlan0) However, when i do that, the card immediately thinks im trying to set the connection manually and doesnt work until i remove that line from the file and reset the networking layer. Plus, when i try to set it in network tools, i get some error when i open the configure dialog. Is there any way to achieve this? its been driving me crazy! Edited July 1, 2008 by k311 Link to comment Share on other sites More sharing options...
+BudMan MVC Posted July 1, 2008 MVC Share Posted July 1, 2008 and ifconfig does not work? # ifconfig wlan0 mtu 1492 Link to comment Share on other sites More sharing options...
k311 Posted July 2, 2008 Author Share Posted July 2, 2008 ive already been down that road, ifconfig gives an error message when trying to run that command, which makes sense because ifconfig is only for non-wireless devices. However, there is no alternative for this when using iwconfig (at least that i am aware of) Link to comment Share on other sites More sharing options...
+BudMan MVC Posted July 2, 2008 MVC Share Posted July 2, 2008 where did you read that ifconfig is only for non-wireless devices? Link to comment Share on other sites More sharing options...
k311 Posted July 3, 2008 Author Share Posted July 3, 2008 a few different places? either way, it does give me an error message when i try to run that command Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted July 3, 2008 Veteran Share Posted July 3, 2008 a few different places? either way, it does give me an error message when i try to run that command Can you post that error here? Link to comment Share on other sites More sharing options...
k311 Posted July 3, 2008 Author Share Posted July 3, 2008 Can you post that error here? yes sorry, i havent yet because i'm not on that machine right now (i know its annoying when people dont post their error messages, i just havent been able to get back on that machine yet) Link to comment Share on other sites More sharing options...
Recommended Posts