[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to share the Internet with Linux and an iPad by Wi-Fi?



On Mon, 2012-02-20 at 12:32 +0100, Ralf Mardorf wrote:
> On Mon, 2012-02-20 at 11:59 +0200, Andrei POPESCU wrote:
> > On Du, 19 feb 12, 12:58:19, Ralf Mardorf wrote:
> > > 
> > > I only enabled wireless, the DSL connection isn't set up by nm, it was
> > > set up by pppoeconf and starts automatically at startup.
> > 
> > You're probably better of doing it by hand, aproximate steps from 
> > memory:
> > 
> > - disable network manager
> > - configure wlan0 with a static IP + netmask in /etc/network/interfaces 
> >   (but no gateway, this is important)
> > - install hostapd, dnsmasq and resolvconf if not already installed
> > - configure hostapd: which interface (wlan0), wpa2, wpa2 passphrase
> > - configure dnsmasq as DHCP server (uncomment one of the network 
> >   definitions in /etc/dnsmasq.conf)
> > - enable IP forwarding: I usually do this with shorewall since in such 
> >   cases I need a firewall anyway
> > - if MTU for you pppoe is set to 1492 you may need to clamp MSS to Path 
> >   MTU Discovery[1] (with shorewall or the iptables command mentioned on 
> >   that page
> > 
> > [1] http://lartc.org/howto/lartc.cookbook.mtu-mss.html
> > 
> > Kind regards,
> > Andrei
> 
> Thank you Andrei,
> 
> I already tried this, but I'll try again, since your information allows
> me to google more precise. I'm uncertain if I should test Wicd first.
> 
> Kind regards,
> Ralf
> 
> PS: [snip]

Hi :)

after

        Commit Log for Tue Feb 21 02:25:34 2012
        
        
        Removed the following packages:
        network-manager
        network-manager-gnome
        network-manager-pptp
        network-manager-pptp-gnome
        
        Commit Log for Tue Feb 28 06:50:45 2012
        
        
        Installed the following packages:
        bridge-utils (1.5-2ubuntu1.1)
        dnsmasq (2.57-1ubuntu1)
        dnsmasq-utils (2.57-1ubuntu1)
        hostapd (1:0.7.3-2build1)
        libnl1 (1.1-6ubuntu1)
        openresolv (3.4.0-1)
        shorewall (4.4.21-1)

the LED of the WLAN USB adapter doesn't flash anymore, IOW the adapter
isn't detected anymore.

Doing this

        Commit Log for Wed Mar  7 02:58:51 2012
        
        
        Completely removed the following packages:
        shorewall
        
        Commit Log for Wed Mar  7 03:19:26 2012
        
        
        Installed the following packages:
        network-manager (0.9.1.90-0ubuntu5.1)
        network-manager-gnome (0.9.1.90-0ubuntu6)
        network-manager-pptp (0.9.0-0ubuntu2)
        network-manager-pptp-gnome (0.9.0-0ubuntu2)
        
        Commit Log for Wed Mar  7 18:46:29 2012
        
        
        Completely removed the following packages:
        bridge-utils
        dnsmasq
        dnsmasq-utils
        hostapd
        libnl1
        openresolv
        
        Commit Log for Wed Mar  7 18:49:03 2012
        
        
        Reinstalled the following packages:
        network-manager (0.9.1.90-0ubuntu5.1)
        network-manager-gnome (0.9.1.90-0ubuntu6)
        network-manager-pptp (0.9.0-0ubuntu2)
        network-manager-pptp-gnome (0.9.0-0ubuntu2)

didn't solve it.

I just did some upgrades, but didn't use this Linux for more but running
Firefox and Evolution. I didn't edit any settings. Today I tried to
follow Andrei's hints, but seemingly something already gets broken when
removing nm or when installing those WLAN related packages. (Perhaps an
upgrade dropped support of the Sempre WU300 WLAN USB adapter.) I made
several backups, but I don't have a clue what I've to look for. It
should be possible to repair it by using one of the backups, if I should
know what needs to be repaired.

Regards,
Ralf


Reply to: