![]() |
[SOLVED] Gentoo, iwconfig, ndiswrapper, internet connection sharing, and an MTU
I will begin by explaing my setup as best I can.
Distribution: Gentoo kernel 2.6.27 Wireless Management: wireless-tools & wpa_supplicant (just trying it out) and ndiswrapper 1.53 Hardware: Target Machine: Inspiron 8200 with a Marvell 8335 Wireless PCMCIA adapter Network: Netgear MRV814 Router, Speedtouch 330 ADSL modem ICS Host Machine: Running XP SP3 with Internet Connection Sharing enabled. Obviously, the modem is connected directly to the host computer and the router is just acting as bridge to the ICS gateway. As a preface, ICS works perfectly fine. I can connect to the internet through my wireless router with no problems. The problem, is that I can not access any MSN services or websites I believe as a result of the MTU setting. So now we continue with some terminal output... #lspci Code:
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)Code:
mrv8335 : driver installedCode:
wlan0 Link encap:Ethernet HWaddr 08:10:17:02:0d:39 Code:
lo no wireless extensions.My current config files that are applicable: /etc/conf.d/net -I know this is not set up right at the moment. I'm learning. Code:
Code:
I have probably forgotten something, so let me know and I'll post more information. I wrote this in a hurry. Anyway, does anyone know how to change the MTU setting on a Gentoo install as outlined above? Thanks in advance Wow. I just noticed my registration date. I had no idea that I even had an account here. I just began using linux in the past year. Anyway, no matter. |
I'm a bit closer, but I still cannot find where to change the mtu setting. Is it even possible from within /conf.d/net? An update...
Code:
Code:
My ifconfig output: Code:
It connect to my ICS network fine, but I still cannot connect to certain sites such as microsoft ones. I know I need to change the MTU. I thought the /init.d/net.wlan0 script might have an option. It refers to mtu in one section: Code:
# Calculates the best metric for the interface Code:
#/lib/rcscripts/net/ifconfig.shIs there a bug in this part of the script? Or, does this only work with wired interfaces or ones which do not use ndiswrapper? |
I'm going to mark this solved, although I wish I had a more detailed evaluation of the specific setting in question.
I was using kernel 2.6.27 vanilla that I had compiled myself. Downloading the new kernel 2.6.27.6 and recompiling has fixed the problem. I did not make any significant changes to the networking config portion of menuconfig. I'll try to do a more in depth analysis of the difference between my previous kernel config and the present one. |
I was looking for solving something earlier and stumbled across this posting, anyways, solution to the manually setting MTU issue is as follows:
Code:
mtu_iface="####" |
| All times are GMT -5. The time now is 01:11 AM. |