Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Sun, 2012-03-11 at 00:38 +0100, Ralf Mardorf wrote: > I tested what happens, if I install the needed packages to Mint Lisa. > The LED always will flash and iwlist scanning will find something [snip] > I'll copy the config files to > Mint, since all Debian and Debian derivatives are similar. [snip] Done. It seems to be that simply the settings are still bad, but the driver and firmware seem not to be borked. # mount /dev/sdb6 /mnt/oz # mount /dev/sdb1 /mnt/lisa # cp -p /mnt/oz/etc/hostapd/hostapd.conf /mnt/lisa/etc/hostapd # mv /mnt/lisa/etc/dnsmasq.conf /mnt/lisa/etc/dnsmasq.conf.DEFAULT # cp -p /mnt/oz/etc/dnsmasq.conf /mnt/lisa/etc # diff /mnt/oz/etc/resolv.conf /mnt/lisa/etc/resolv.conf # cat /mnt/lisa/etc/resolv.conf # Generated by resolvconf nameserver 127.0.0.1 #mv /mnt/lisa/etc/network/interfaces /mnt/lisa/etc/network/interfaces.DEFAULT # cp -p /mnt/oz/etc/network/interfaces /mnt/lisa/etc/network/interfaces Then I rebooted to Mint Lisa and now the LED doesn't flash there too and iwlist scan does end with no result, so I assume the settings are still bad. $ service NetworkManager status NetworkManager: unrecognized service $ iwlist scanning loInterface doesn't support scanning. eth0 Interface doesn't support scanning. wlan0 No scan results ppp0 Interface doesn't support scanning. - Ralf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1331475371.2283.5.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Du, 11 mar 12, 00:38:40, Ralf Mardorf wrote: > > I tested what happens, if I install the needed packages to Mint Lisa. > The LED always will flash and iwlist scanning will find something [1]. Why do you think the LED is relevant for using the card in Master mode? > Before I restore something from backups, I'll copy the config files to > Mint, since all Debian and Debian derivatives are similar. > It seems that something get borked during installing, removing, > installing and editing, editing, editing. I don't think this is such a good idea. Instead of continuing to scan for other networks (don't forget, you are trying to set up your own network) you should rather check the output of iwconfig, which will tell you the state of the device (which is much more important). Hope this helps, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Sat, 2012-03-10 at 16:18 +0100, Ralf Mardorf wrote: > For the default install, just using pppoeconf, nm not set, the LED > flashed from time to time and I guess the iwlist scanning would show > what's on the air. Using Mint Lisa now, iwlist still does. When nm was > set, the LED flashed continuously. Now it looks like the driver or > firmware is borked, the LED never will flash. Should I continue after > restoring the complete install from a backup or is it just because of > the new and wrong settings? I wonder because I removed and installed > completely before I started the second trail, but I didn't get the LED > alive, even without new settings. I tested what happens, if I install the needed packages to Mint Lisa. The LED always will flash and iwlist scanning will find something [1]. Before I restore something from backups, I'll copy the config files to Mint, since all Debian and Debian derivatives are similar. It seems that something get borked during installing, removing, installing and editing, editing, editing. Regards, Ralf [1] spinymouse@lisa ~ $ iwlist scanning loInterface doesn't support scanning. eth0 Interface doesn't support scanning. wlan0 Scan completed : Cell 01 [snip] Cell 05 [snip] ppp0 Interface doesn't support scanning. spinymouse@lisa ~ $ gksudo synaptic Installed the following packages: hostapd (1:0.7.3-2build1) libnl1 (1.1-6ubuntu1) spinymouse@lisa ~ $ gksudo 'shutdown -r now' spinymouse@lisa ~ $ iwlist scanning loInterface doesn't support scanning. eth0 Interface doesn't support scanning. wlan0 Scan completed : Cell 01 [snip] Cell 04 [snip] ppp0 Interface doesn't support scanning. spinymouse@lisa ~ $ gksudo synaptic Installed the following packages: dnsmasq (2.57-1ubuntu1) spinymouse@lisa ~ $ gksudo 'shutdown -r now' spinymouse@lisa ~ $ iwlist scanning loInterface doesn't support scanning. eth0 Interface doesn't support scanning. wlan0 Scan completed : Cell 01 [snip] Cell 03 [snip] ppp0 Interface doesn't support scanning. spinymouse@lisa ~ $ gksudo synaptic Installed the following packages: resolvconf (1.48ubuntu1) spinymouse@lisa ~ $ gksudo 'shutdown -r now' spinymouse@lisa ~ $ iwlist scanning loInterface doesn't support scanning. eth0 Interface doesn't support scanning. wlan0 Scan completed : Cell 01 [snip] Cell 03 [snip] ppp0 Interface doesn't support scanning. spinymouse@lisa ~ $ gksudo synaptic Removed the following packages: resolvconf Installed the following packages: openresolv (3.4.0-1) spinymouse@lisa ~ $ gksudo 'shutdown -r now' spinymouse@lisa ~ $ iwlist scanning loInterface doesn't support scanning. eth0 Interface doesn't support scanning. wlan0 Scan completed : Cell 01 [snip] Cell 04 [snip] ppp0 Interface doesn't support scanning. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1331422720.2188.34.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
Thank you :) On Sat, 2012-03-10 at 13:45 +, debian-user-digest-requ...@lists.debian.org wrote: On Sat, 2012-03-10 at 01:53 +0200, Andrei POPESCU wrote: > On Vi, 09 mar 12, 16:48:58, Ralf Mardorf wrote: > > On Fri, 2012-03-09 at 11:59 +0200, Andrei POPESCU wrote: > > > On Vi, 09 mar 12, 05:14:39, Ralf Mardorf wrote: > > root@oz:~# cat /etc/hostapd/hostapd.conf > > > > # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, > > # Default: IEEE 802.11b > > hw_mode=a > > You probably want/need hw_mode=g here Ok > > # Channel number (IEEE 802.11) > > # (default: 0, i.e., not set) > > # Please note that some drivers (e.g., madwifi) do not use this value > > from > > # hostapd and the channel will need to be configuration separately with > > # iwconfig. > > channel=60 > > This seems wrong, try 7 Ok > > # Station MAC address -based authentication > > # Please note that this kind of access control requires a driver that > > uses > > # hostapd to take care of management frame processing and as such, this > > can be > > # used with driver=hostap or driver=nl80211, but not with > > driver=madwifi. > > Are you sure about this one? Exceptionally I should post in HTML. "driver=madwifi." is part of the explaination, IOW it's commented out. I don't know the drivers, have to read about them later. > > root@oz:~# cat /etc/dnsmasq.conf > > > # If you want dnsmasq to listen for DHCP and DNS requests only on > > # specified interfaces (and the loopback) give the name of the > > # interface (eg eth0) here. > > # Repeat the line for more than one interface. > > #interface= > > You should probably set this to wlan0, just to make sure it doesn't mess > with eth0 and ppp0 Ok > > # Uncomment this to enable the integrated DHCP server, you need > > # to supply the range of addresses available for lease and optionally > > # a lease time. If you have more than one network, you will need to > > # repeat this for each network on which you want to supply DHCP > > # service. > > # dhcp-range=192.168.10.24,192.168.10.25,12h > > You should enable a line like this, just make sure the range does *not* > include 192.168.10.24 (which is what you configured for wlan0) Ok > > dhcp-range=192.168.10.24,static > > Not needed. Ok > Hope this helps, > Andrei In the meantime I edited the files myself, on the quick I'll re-edit the re-edited files, hopefully this won't cause new issues. After shopping I'll try again and take some time for it. This [1] doesn't make the LED flashing again, it's still dead. root@oz:~# iwlist scan loInterface doesn't support scanning. eth0 Interface doesn't support scanning. wlan0 No scan results ppp0 Interface doesn't support scanning. For the default install, just using pppoeconf, nm not set, the LED flashed from time to time and I guess the iwlist scanning would show what's on the air. Using Mint Lisa now, iwlist still does. When nm was set, the LED flashed continuously. Now it looks like the driver or firmware is borked, the LED never will flash. Should I continue after restoring the complete install from a backup or is it just because of the new and wrong settings? I wonder because I removed and installed completely before I started the second trail, but I didn't get the LED alive, even without new settings. Regards, Ralf [1] root@oz:~# cat /etc/hostapd/hostapd.conf # /usr/share/doc/hostapd/examples/hostapd.conf.gz interface=wlan0 # hostapd event logger configuration logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 # Dump file for state information (on SIGUSR1) dump_file=/tmp/hostapd.dump # Interface for separate control program. ctrl_interface=/var/run/hostapd # By default, hostapd is configured to use gid 0 (root). #ctrl_interface_group=wheel ctrl_interface_group=0 # IEEE 802.11 related configuration ### # SSID to be used in IEEE 802.11 management frames # http://www.webopedia.com/TERM/S/SSID.html ssid=test #country_code=US # (default: 0 = disabled) #ieee80211d=1 # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, # Default: IEEE 802.11b hw_mode=g # Channel number (IEEE 802.11) channel=7 # Beacon interval in kus (1.024 ms) beacon_int=100 # dtim_period=2 max_num_sta=255 rts_threshold=2347 fragm_threshold=2346 macaddr_acl=0 # bit 0 = Open System Authentication # bit 1 = Shared Key Authentication (requires WEP) auth_algs=3 # 1 = send empty (length=0) SSID in beacon and ignore probe request for # broadcast SSID # 2 = clear SSID (ASCII 0), but keep the original length (this may be required # with some clients that do not support empty SSID) and ignore probe # requests for broadcast SSID ignore_broadcast_ssid=0 # wmm_enabled=1 # Low priority / AC_BK = background #wmm_ac_bk_cwmin=4 wmm_ac_bk_cwmin=5 wmm_ac_bk_cwmax=10 wmm_ac_bk_aifs=7 wmm_ac_bk_txop_limit=0 wmm_ac_bk_acm=0 # Note: for IEEE 802.11b mode: cWmin=5 cWmax=1
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
Hi :) I need some help. PPPoE is still ok, but the WLAN adapter LED doesn't flash. Below are the new edited /etc/network/interfaces, /etc/hostapd/hostapd.conf, /etc/dnsmasq.conf and the untouched /etc/resolv.conf. >From the cardboard box of the WLAN USB thingy: "sempre Wireless Lan 11N 300MB USB Adaptor Specifications: Complies with IEEE802.11b/g/n, IEEE802.3, IEEE802.3u standards Supports three Mode: Ad hoc Mode, Infrastructure Mode, Soft AP Supports Cisco CCS V1.0,2.0,3.0 standard Supports QoS 802.11e,WMM Provides 64/128 bit WEP ,WPA,WPA2,802.1X and 802.11i encryption security Supports simplify Wi-Fi network setup WPS function Supports external WPS button Supports USB1.1 and USB2.0 interface, plug and play Supports Wireless Roaming Max. 300 Mbps transmission speed" Regards, Ralf root@oz:~# hwinfo --usb 10: USB 00.0: Unclassified device [Created at usb.122] Unique ID: cLrx.pHbvpxhVmw2 Parent ID: k4bc.MrJLBLcWB9F SysFS ID: /devices/pci:00/:00:13.5/usb1/1-2/1-2:1.0 SysFS BusID: 1-2:1.0 Hardware Class: unknown Model: "Realtek RTL8191S WLAN Adapter" Hotplug: USB Vendor: usb 0x0bda "Realtek Semiconductor Corp." Device: usb 0x8172 "RTL8191S WLAN Adapter" Revision: "2.00" Serial ID: "00e04c01" Driver: "r8712u" Driver Modules: "r8712u" Device File: wlan0 Speed: 480 Mbps HW Address: 00:0a:eb:22:ef:b3 Module Alias: "usb:v0BDAp8172d0200dc00dsc00dp00icFFiscFFipFF" Driver Info #0: Driver Status: r8712u is active Driver Activation Cmd: "modprobe r8712u" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #4 (Hub) ++ ++ root@oz:~# cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider auto eth0 iface eth0 inet manual # WLAN allow-hotplug wlan0 iface wlan0 inet static address 192.168.10.24 netmask 255.255.255.0 ++ ++ root@oz:~# cat /etc/hostapd/hostapd.conf # /usr/share/doc/hostapd/examples/hostapd.conf.gz interface=wlan0 # hostapd event logger configuration logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 # Dump file for state information (on SIGUSR1) dump_file=/tmp/hostapd.dump # Interface for separate control program. ctrl_interface=/var/run/hostapd # By default, hostapd is configured to use gid 0 (root). #ctrl_interface_group=wheel ctrl_interface_group=0 # IEEE 802.11 related configuration ### # SSID to be used in IEEE 802.11 management frames # http://www.webopedia.com/TERM/S/SSID.html ssid=test #country_code=US # (default: 0 = disabled) #ieee80211d=1 # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, # Default: IEEE 802.11b #hw_mode=a # Channel number (IEEE 802.11) channel=60 # Beacon interval in kus (1.024 ms) beacon_int=100 # dtim_period=2 max_num_sta=255 rts_threshold=2347 fragm_threshold=2346 macaddr_acl=0 # bit 0 = Open System Authentication # bit 1 = Shared Key Authentication (requires WEP) auth_algs=3 # 1 = send empty (length=0) SSID in beacon and ignore probe request for # broadcast SSID # 2 = clear SSID (ASCII 0), but keep the original length (this may be required # with some clients that do not support empty SSID) and ignore probe # requests for broadcast SSID ignore_broadcast_ssid=0 # wmm_enabled=1 # Low priority / AC_BK = background #wmm_ac_bk_cwmin=4 wmm_ac_bk_cwmin=5 wmm_ac_bk_cwmax=10 wmm_ac_bk_aifs=7 wmm_ac_bk_txop_limit=0 wmm_ac_bk_acm=0 # Note: for IEEE 802.11b mode: cWmin=5 cWmax=10 # Normal priority / AC_BE = best effort wmm_ac_be_aifs=3 #wmm_ac_be_cwmin=4 wmm_ac_bk_cwmin=5 #wmm_ac_be_cwmax=10 wmm_ac_be_cwmax=7 wmm_ac_be_txop_limit=0 wmm_ac_be_acm=0 # Note: for IEEE 802.11b mode: cWmin=5 cWmax=7 # High priority / AC_VI = video wmm_ac_vi_aifs=2 #wmm_ac_vi_cwmin=3 wmm_ac_vi_cwmin=4 #wmm_ac_vi_cwmax=4 wmm_ac_vi_cwmax=5 wmm_ac_vi_txop_limit=94 wmm_ac_vi_acm=0 # Note: for IEEE 802.11b mode: cWmin=4 cWmax=5 txop_limit=188 # Highest priority / AC_VO = voice wmm_ac_vo_aifs=2 #wmm_ac_vo_cwmin=2 wmm_ac_vo_cwmin=3 #wmm_ac_vo_cwmax=3 wmm_ac_vo_cwmax=4 wmm_ac_vo_txop_limit=47 wmm_ac_vo_acm=0 # Note: for IEEE 802.11b mode: cWmin=3 cWmax=4 burst=102 # Static WEP key configuration wep_default_key=0 wep_key0=123456789a # Integrated EAP server ### # http://de.wikipedia.org/wiki/Extensible_Authentication_Protocol eap_server=0 #private_key=/etc/hostapd.server.prv # P
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Fri, 2012-03-09 at 16:48 +0100, Ralf Mardorf wrote: > My rudimentary edited /etc/network/interfaces, /etc/hostapd/hostapd.conf > and /etc/dnsmasq.conf [1] have broken the PPPoE connection too. No, it didn't work randomly, I had no time to fix the configs, but after another startup PPPoE is ok again. - Ralf PS: > I'll read the examples more careful and reedit the files later. Starting now ;) ... assumed no unexpected occurrence will stop me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1331379031.2232.23.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Vi, 09 mar 12, 16:48:58, Ralf Mardorf wrote: > On Fri, 2012-03-09 at 11:59 +0200, Andrei POPESCU wrote: > > On Vi, 09 mar 12, 05:14:39, Ralf Mardorf wrote: > > I'm guessing this paragraph is about my question. If you have only > one > > computer + the iPad then you don't need bridging. > > Yes, it is about your question. I only need it for 1 computer and the > iPad. > > My rudimentary edited /etc/network/interfaces, /etc/hostapd/hostapd.conf > and /etc/dnsmasq.conf [1] have broken the PPPoE connection too. Not sure how this could have happened. > > # The loopback network interface > auto lo > iface lo inet loopback > > auto dsl-provider > iface dsl-provider inet ppp > pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf > provider dsl-provider > > auto eth0 > iface eth0 inet manual > > # WLAN > allow-hotplug wlan0 > iface wlan0 inet static > address 192.168.10.24 > netmask 255.255.255.0 Looks good to me. > root@oz:~# cat /etc/hostapd/hostapd.conf > > # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, > # Default: IEEE 802.11b > hw_mode=a You probably want/need hw_mode=g here > # Channel number (IEEE 802.11) > # (default: 0, i.e., not set) > # Please note that some drivers (e.g., madwifi) do not use this value > from > # hostapd and the channel will need to be configuration separately with > # iwconfig. > channel=60 This seems wrong, try 7 > > # Station MAC address -based authentication > # Please note that this kind of access control requires a driver that > uses > # hostapd to take care of management frame processing and as such, this > can be > # used with driver=hostap or driver=nl80211, but not with > driver=madwifi. Are you sure about this one? > root@oz:~# cat /etc/dnsmasq.conf > # If you want dnsmasq to listen for DHCP and DNS requests only on > # specified interfaces (and the loopback) give the name of the > # interface (eg eth0) here. > # Repeat the line for more than one interface. > #interface= You should probably set this to wlan0, just to make sure it doesn't mess with eth0 and ppp0 > > # Uncomment this to enable the integrated DHCP server, you need > # to supply the range of addresses available for lease and optionally > # a lease time. If you have more than one network, you will need to > # repeat this for each network on which you want to supply DHCP > # service. > # dhcp-range=192.168.10.24,192.168.10.25,12h You should enable a line like this, just make sure the range does *not* include 192.168.10.24 (which is what you configured for wlan0) > # DHCP range where the netmask is given. > # If you don't know what a DHCP relay agent is, you probably > # don't need to worry about this. > # dhcp-range=192.168.10.24,192.168.10.24,255.255.255.0,12h > > # Specify a subnet which can't be used for dynamic address allocation, > # is available for hosts with matching --dhcp-host lines. Note that > # dhcp-host declarations will be ignored unless there is a dhcp-range > # of some type for the subnet in question. > # In this case the netmask is implied (it comes from the network > # configuration on the machine running dnsmasq) it is possible to give > # an explicit netmask instead. > dhcp-range=192.168.10.24,static Not needed. Hope this helps, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Fri, 2012-03-09 at 11:59 +0200, Andrei POPESCU wrote: > On Vi, 09 mar 12, 05:14:39, Ralf Mardorf wrote: > I'm guessing this paragraph is about my question. If you have only one > computer + the iPad then you don't need bridging. Yes, it is about your question. I only need it for 1 computer and the iPad. My rudimentary edited /etc/network/interfaces, /etc/hostapd/hostapd.conf and /etc/dnsmasq.conf [1] have broken the PPPoE connection too. I'll read the examples more careful and reedit the files later. For openresolv nothing is edited until now. The firewall isn't installed, but nm still is installed. Regards, Ralf [1] root@oz:~# cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider auto eth0 iface eth0 inet manual # WLAN allow-hotplug wlan0 iface wlan0 inet static address 192.168.10.24 netmask 255.255.255.0 ++ root@oz:~# cat /etc/hostapd/hostapd.conf # /usr/share/doc/hostapd/examples/hostapd.conf.gz # AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for # management frames); ath0 for madwifi interface=wlan0 # hostapd event logger configuration # # Two output method: syslog and stdout (only usable if not forking to # background). # # Module bitfield (ORed bitfield of modules that will be logged; -1 = all # modules): # bit 0 (1) = IEEE 802.11 # bit 1 (2) = IEEE 802.1X # bit 2 (4) = RADIUS # bit 3 (8) = WPA # bit 4 (16) = driver interface # bit 5 (32) = IAPP # bit 6 (64) = MLME # # Levels (minimum value for logged events): # 0 = verbose debugging # 1 = debugging # 2 = informational messages # 3 = notification # 4 = warning # logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 # Dump file for state information (on SIGUSR1) dump_file=/tmp/hostapd.dump # Interface for separate control program. If this is specified, hostapd # will create this directory and a UNIX domain socket for listening to requests # from external programs (CLI/GUI, etc.) for status information and # configuration. The socket file will be named based on the interface name, so # multiple hostapd processes/interfaces can be run at the same time if more # than one interface is used. # /var/run/hostapd is the recommended directory for sockets and by default, # hostapd_cli will use it when trying to connect with hostapd. ctrl_interface=/var/run/hostapd # Access control for the control interface can be configured by setting the # directory to allow only members of a group to use sockets. This way, it is # possible to run hostapd as root (since it needs to change network # configuration and open raw sockets) and still allow GUI/CLI components to be # run as non-root users. However, since the control interface can be used to # change the network configuration, this access needs to be protected in many # cases. By default, hostapd is configured to use gid 0 (root). If you # want to allow non-root users to use the contron interface, add a new group # and change this value to match with that group. Add users that should have # control interface access to this group. # # This variable can be a group name or gid. #ctrl_interface_group=wheel ctrl_interface_group=0 # IEEE 802.11 related configuration ### # SSID to be used in IEEE 802.11 management frames # http://www.webopedia.com/TERM/S/SSID.html ssid=test #country_code=US # (default: 0 = disabled) #ieee80211d=1 # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, # Default: IEEE 802.11b hw_mode=a # Channel number (IEEE 802.11) # (default: 0, i.e., not set) # Please note that some drivers (e.g., madwifi) do not use this value from # hostapd and the channel will need to be configuration separately with # iwconfig. channel=60 # Beacon interval in kus (1.024 ms) (default: 100; range 15..65535) beacon_int=100 # DTIM (delivery trafic information message) period (range 1..255): # number of beacons between DTIMs (1 = every beacon includes DTIM element) # (default: 2) dtim_period=2 # Maximum number of stations allowed in station table. New stations will be # rejected after the station table is full. IEEE 802.11 has a limit of 2007 # different association IDs, so this number should not be larger than that. # (default: 2007) max_num_sta=255 # RTS/CTS threshold; 2347 = disabled (default); range 0..2347 # If this field is not included in hostapd.conf, hostapd will not control # RTS threshold and 'iwconfig wlan# rts ' can be used to set it. rts_threshold=2347 # Fragmentation threshold; 2346 = disabled (default); range 256..2346 # If this field is not included in hostapd.conf, hostapd will not control # fr
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Vi, 09 mar 12, 05:14:39, Ralf Mardorf wrote: > On Thu, 2012-03-08 at 19:14 +0200, Andrei POPESCU wrote: > > > > It is a bit more complicated if you also need a bridge (do you?). ... > I don't know what I need. I will be able to browse the web and to send > and receive emails, to sync the iPad and to use the WiFi-MIDI-thingy for > Linux and the iPad. I'm guessing this paragraph is about my question. If you have only one computer + the iPad then you don't need bridging. Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Thu, 2012-03-08 at 19:14 +0200, Andrei POPESCU wrote: > On Jo, 08 mar 12, 16:51:18, Ralf Mardorf wrote: > > > > ... I just wondered that it looks like the driver doesn't work anymore, > > since the WLAN adapter also is lost after reinstalling nm. > > > > http://wiki.debian.org/WiFi/HowToUse#Command_Line > ... > > By running 'iwlist scan' I don't get the expected output anymore. > ... > > # my wifi device > > auto wlan0 > > iface wlan0 inet dhcp > > wireless-essid [ESSID] > > wireless-mode [MODE] > > But you don't want to connect to "a wireless network" (actually an Acess > Point), you want to be the AP. From memory, you need: > > allow-hotplug wlan0 > iface wlan0 inet static > address 192.168.XX.1 > netmask 255.255.255.0 > > Everything else is configured in hostapd.conf. At a minimum you need to > instruct hostapd which interface to use, what security mode (wpa2 with > AES is recommended) and which passphrase to require from clients. It > will then take care to configure your interface for Master mode. > > It is a bit more complicated if you also need a bridge (do you?). > > For dnsmasq at a minimum you need to enable one of the dhcp definitions > in /etc/dnsmasq.conf > > For shorewall I advise you copy the default configuration files from > /usr/share/doc/shorewall/default-config/ to /etc/shorewall/ and then > adjust according to the two-interfaces example in the docs. > > Hope this helps, > Andrei Thank you Andrei, I don't know what I need. I will be able to browse the web and to send and receive emails, to sync the iPad and to use the WiFi-MIDI-thingy for Linux and the iPad. When the connection failed using nm, somebody mentioned it could be the fault of the iPad 2 and indeed it's known as not working good using Wifi. If possible, I'll try to fix the network issue today. From yesterday until now I had to fight odd Apple idiocy. I couldn't solve this Apple issue, but anyway will delay solving this and continue getting the network connection established. Regards, Ralf PS: :D http://www.ipadforums.net/ipad-2-forum/66866-cant-update-ipad2-ios5-1-a-2.html#post471593 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1331266479.1459.67.camel@localhost.localdomain
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Jo, 08 mar 12, 16:51:18, Ralf Mardorf wrote: > > ... I just wondered that it looks like the driver doesn't work anymore, > since the WLAN adapter also is lost after reinstalling nm. > > http://wiki.debian.org/WiFi/HowToUse#Command_Line ... > By running 'iwlist scan' I don't get the expected output anymore. ... > # my wifi device > auto wlan0 > iface wlan0 inet dhcp > wireless-essid [ESSID] > wireless-mode [MODE] But you don't want to connect to "a wireless network" (actually an Acess Point), you want to be the AP. From memory, you need: allow-hotplug wlan0 iface wlan0 inet static address 192.168.XX.1 netmask 255.255.255.0 Everything else is configured in hostapd.conf. At a minimum you need to instruct hostapd which interface to use, what security mode (wpa2 with AES is recommended) and which passphrase to require from clients. It will then take care to configure your interface for Master mode. It is a bit more complicated if you also need a bridge (do you?). For dnsmasq at a minimum you need to enable one of the dhcp definitions in /etc/dnsmasq.conf For shorewall I advise you copy the default configuration files from /usr/share/doc/shorewall/default-config/ to /etc/shorewall/ and then adjust according to the two-interfaces example in the docs. Hope this helps, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Thu, 2012-03-08 at 11:40 +0200, Andrei POPESCU wrote: > On Mi, 07 mar 12, 19:41:43, Ralf Mardorf wrote: > > > > 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. > > These packages require manual configuration, I understand this ... > it's not enough to install > them. ... I just wondered that it looks like the driver doesn't work anymore, since the WLAN adapter also is lost after reinstalling nm. > The respective configuration files are heavily > commented/documented and I could assist (from memory) if you come up > with specific questions. > > Kind regards, > Andrei http://wiki.debian.org/WiFi/HowToUse#Command_Line By running 'iwlist scan' I don't get the expected output anymore. I already started editing yesterday. Hm? Ok, I'll ignore what I deemed as broken and will go on with this [1], after installing the packages again. Thank you Andrei, Ralf [1] [root@archlinux spinymouse]# ls /mnt/oz/etc/network/interface* /mnt/oz/etc/network/interfaces /mnt/oz/etc/network/interfaces.V-0.1 /mnt/oz/etc/network/interfaces.ORIGINAL-2012-Mar-07 [root@archlinux spinymouse]# cat /mnt/oz/etc/network/interfaces.V-0.1 # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider auto eth0 iface eth0 inet manual # my wifi device auto wlan0 iface wlan0 inet dhcp wireless-essid [ESSID] wireless-mode [MODE] -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1331221878.1280.13.camel@localhost.localdomain
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Mi, 07 mar 12, 19:41:43, Ralf Mardorf wrote: > > 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. These packages require manual configuration, it's not enough to install them. The respective configuration files are heavily commented/documented and I could assist (from memory) if you come up with specific questions. Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1331145703.2030.18.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
Ralf Mardorf, 19.02.2012: > On Sun, 2012-02-19 at 19:08 +0100, Ralf Mardorf wrote: > > On Sun, 2012-02-19 at 12:58 +0100, Ralf Mardorf wrote: > > > Connection name: Wireless connection 1 > > > [x] Connect automatically > > > [x] Available to all users > > > Tab "Wireless" > > > SSID: oz > > > Mode: Ad-hoc > > > Band: Automatic > > > (Channel: default) > > > BSSID: > > > Device MAC address: > > > Cloned MAC adresse: > > > MTU: automatic > > > Tab "IPv4 Settings" > > > Method: Shared to other computers > > > (Adress: > > > Netmask: > > > Gateway: > > > DNS servers: > > > Search domains: > > > DHCP client ID:) > > > [x] Require IPv4 addressing for this connection to complete > > > (Nothing edited for "Routes...") > > > Nothing edited for tab "IPv6 Settings" > > > Tab "Wireless security" > > > Security: WEP 128-bit Passphrase > > > Key: 1234567890 > > > > I figured out that the key 1234567890 is the Password I need to type > > using the iPad, nm shows "Wireless connection Last used now". Regarding > > to http://www.apple.com/support/ipad/assistant/wifi/#section_1 I don't > > have to set any Proxy settings on the iPad. Anyway, the iPad get no > > access to the Internet. While the wireless connection is reconnecting > > again and again and again, managed by nm, I need to run sudo poff -a and > > sudo pon dsl-provider again and again and again. Using nm to do the > > PPPoE connection doesn't work. Isn't there any howto for Debian and/or > > Ubuntu? > > > > Regards, > > Ralf > > Switching to "WPA & WPA2 personal" nm disconnect all the time. The > padlock icon on the iPad isn't shown anymore. The situation is more > worse as when using WEP. I would try an open network (no WEP/WPA) at first, just to minimize potential stumbling blocks. I have been able to get my wired ethernet shared over wireless using network manager by choosing "create a new network" from nm-applet, though I should say that it took a few tries and possibly some updates (in sid) between the non-working and working attempts. I get the feeling that ad-hoc mode is not supported as well as managed mode on most devices, since almost all common use is managed.[*] And I mean that the ad-hoc problems could affect either side --- the computer sharing out its connection and/or the ones trying to connect. Now my connection sharing seems to work fine, though the connection is slow on some devices --- domain name resolution in particular. [*] Today I was with a friend and we tried to share his 3G over wireless, on his Windows 7 laptop, creating an ad-hoc network. His WinXP laptop saw the ad-hoc network and connected but his cell phone and his Samsung Galaxy tablet didn't see the network at all. His Samsung TV saw the network but only connected once in about ten tries. (Usually, it got an IP but no netmask/gateway or dns. Very strange.) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120225220318.ga3...@cs.utexas.edu
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
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: The iwconfig part seems to be ok, the iptables part isn't. $ cat adhoc #! /bin/sh # sh ./adhoc # https://help.ubuntu.com/community/WifiDocs/Adhoc device=wlan0 sudo service network-manager stop sudo ip link set $device down sudo iwconfig $device mode ad-hoc sudo iwconfig $device channel 4 sudo iwconfig $device essid 'oz' sudo iwconfig $device key 1324354657 # sudo dhclient $device sudo ip addr add 169.254.34.2/16 dev $device # http://www.linuxquestions.org/questions/slackware-14/routing-ip-masquerade-nat-question-880715/ # default policies sudo iptables -t nat -P POSTROUTING ACCEPT sudo iptables -t nat -P OUTPUT ACCEPT sudo iptables -t nat -P PREROUTING ACCEPT sudo iptables -t filter -P INPUT DROP sudo iptables -t filter -P FORWARD DROP sudo iptables -t filter -P OUTPUT DROP # NAT on behalf of secondary LAN sudo iptables -t nat -A POSTROUTING -s 192.168.2.0/255.255.255.0 -j SNAT \ --to-source 192.168.1.xxx # forward packets from/to secondary LAN sudo iptables -t filter -A FORWARD -s 192.168.2.0/255.255.255.0 -j ACCEPT sudo iptables -t filter -A FORWARD -d 192.168.2.0/255.255.255.0 -j ACCEPT exit 0 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329737555.2045.235.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
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 -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Sun, 2012-02-19 at 19:08 +0100, Ralf Mardorf wrote: > On Sun, 2012-02-19 at 12:58 +0100, Ralf Mardorf wrote: > > Connection name: Wireless connection 1 > > [x] Connect automatically > > [x] Available to all users > > Tab "Wireless" > > SSID: oz > > Mode: Ad-hoc > > Band: Automatic > > (Channel: default) > > BSSID: > > Device MAC address: > > Cloned MAC adresse: > > MTU: automatic > > Tab "IPv4 Settings" > > Method: Shared to other computers > > (Adress: > > Netmask: > > Gateway: > > DNS servers: > > Search domains: > > DHCP client ID:) > > [x] Require IPv4 addressing for this connection to complete > > (Nothing edited for "Routes...") > > Nothing edited for tab "IPv6 Settings" > > Tab "Wireless security" > > Security: WEP 128-bit Passphrase > > Key: 1234567890 > > I figured out that the key 1234567890 is the Password I need to type > using the iPad, nm shows "Wireless connection Last used now". Regarding > to http://www.apple.com/support/ipad/assistant/wifi/#section_1 I don't > have to set any Proxy settings on the iPad. Anyway, the iPad get no > access to the Internet. While the wireless connection is reconnecting > again and again and again, managed by nm, I need to run sudo poff -a and > sudo pon dsl-provider again and again and again. Using nm to do the > PPPoE connection doesn't work. Isn't there any howto for Debian and/or > Ubuntu? > > Regards, > Ralf Switching to "WPA & WPA2 personal" nm disconnect all the time. The padlock icon on the iPad isn't shown anymore. The situation is more worse as when using WEP. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329681553.2045.96.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Sun, 2012-02-19 at 12:58 +0100, Ralf Mardorf wrote: > Connection name: Wireless connection 1 > [x] Connect automatically > [x] Available to all users > Tab "Wireless" > SSID: oz > Mode: Ad-hoc > Band: Automatic > (Channel: default) > BSSID: > Device MAC address: > Cloned MAC adresse: > MTU: automatic > Tab "IPv4 Settings" > Method: Shared to other computers > (Adress: > Netmask: > Gateway: > DNS servers: > Search domains: > DHCP client ID:) > [x] Require IPv4 addressing for this connection to complete > (Nothing edited for "Routes...") > Nothing edited for tab "IPv6 Settings" > Tab "Wireless security" > Security: WE 128-bit Passphrase > Key: 1234567890 I figured out that the key 1234567890 is the Password I need to type using the iPad, nm shows "Wireless connection Last used now". Regarding to http://www.apple.com/support/ipad/assistant/wifi/#section_1 I don't have to set any Proxy settings on the iPad. Anyway, the iPad get no access to the Internet. While the wireless connection is reconnecting again and again and again, managed by nm, I need to run sudo poff -a and sudo pon dsl-provider again and again and again. Using nm to do the PPPoE connection doesn't work. Isn't there any howto for Debian and/or Ubuntu? Regards, Ralf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329674918.2045.23.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On 2012-02-18, Ralf Mardorf wrote: > > OT: > I didn't buy, but won an iPad 2. Beside all that flashy crap it can do > amazing things, of cause not usable with Linux, but for Mac and Windows > there are e.g. amazing apps that can be used with Mac and Windows DAWs. Careful you don't slip down into Hades, a gated community whose gate is never locked, along with Virgil and his gang. It's Hell getting back out again! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/slrnjk2ai9.30i.cu...@einstein.electron.org
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
PS: After a while I'm asked again and again for authentication by Linux and the USB adapters LED shows that it's sending again, but some time later it gets lost again. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329653575.2019.29.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Sun, 2012-02-19 at 02:54 +0200, Andrei POPESCU wrote: > On Du, 19 feb 12, 01:18:20, Ralf Mardorf wrote: > > Tab "IPv4 Settings" > > Method: Manual > > This is the setting you need to change, but I don't know how it's called > in English. The Romanian translation would suggest something like > "Connection sharing". > > Hope this helps, > Andrei Yes, thank you, it's "Shared to other computers". I edited it by using nm-connection-editor, after that the nm-applet appeared automatically and after enabling wireless, the applet showed networks from my neighborhood. After a while the Linux network was shown by the iPad, then I lost the connection. I disabled and enabled wireless, but nothing happened. I'll reboot. I still wonder, if I need to set addresses and what username and password to use. Settings now are: Connection name: Wireless connection 1 [x] Connect automatically [x] Available to all users Tab "Wireless" SSID: oz Mode: Ad-hoc Band: Automatic (Channel: default) BSSID: Device MAC address: Cloned MAC adresse: MTU: automatic Tab "IPv4 Settings" Method: Shared to other computers (Adress: Netmask: Gateway: DNS servers: Search domains: DHCP client ID:) [x] Require IPv4 addressing for this connection to complete (Nothing edited for "Routes...") Nothing edited for tab "IPv6 Settings" Tab "Wireless security" Security: WE 128-bit Passphrase Key: 1234567890 I only enabled wireless, the DSL connection isn't set up by nm, it was set up by pppoeconf and starts automatically at startup. After rebooting the nm-applet appeared automatically and a notification is displayed: "Network Disconnected - you are offline" Anyway I can surf the Internet using Firefox, but indeed, Evolution can't connect. I enabled networking. Evolution now is connected. Wireless isn't enabled, but the neighborhood's networks are shown by the applet. The iPad shows the Linux network oz. Again and again authentication is required by Linux. I'm always using "1234567890" and then always push connect. After a while, when I tried to set up the iPad, the network "oz" can't be found anymore, the USB adapter's LED indeed change it's notification flashing. Enabling wireless doesn't change anything. I still wonder what settings I have to do for the iPad, username, password, of my provider? "oz" and this "1234567890" key? I'll change it, when it's working ;). I'll backup the install now and continue later. Regards, Ralf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329652699.2019.17.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Du, 19 feb 12, 01:18:20, Ralf Mardorf wrote: > Tab "IPv4 Settings" > Method: Manual This is the setting you need to change, but I don't know how it's called in English. The Romanian translation would suggest something like "Connection sharing". Hope this helps, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Sat, 2012-02-18 at 23:45 +0200, Andrei POPESCU wrote: > On Sb, 18 feb 12, 21:00:34, Ralf Mardorf wrote: > > Hi :) > > > > I need to share the Internet for the PC with an iPad. Linux is connected > > by PPPoE using eth0 to the Internet and the iPad should get access to > > the Internet by a Sempre WU300-1K USB adapter connected to the Linux PC. > > How are you managing your internet connection on the Debian machine? If > it's Network Manager you can use it directly. If you are using ifupdown > you'll need to tinker with hostapd and IP forwarding and (optional) some > dhcp server (I prefer dnsmasq, because it also does DNS caching). > > Kind regards, > Andrei At the moment I don't have Debian installed, but I'm willing to install it again, if it should make it easier to set up what I need. For my Ubuntu I made the connection by pppoeconf and NetworkManager is installed. Running # nm-applet doesn't show it in the Xfce panel's notification area, but running # nm-connection-editor does start a GUI. Thank you, I'll try NetworkManager. I wasn't sure if it doesn't need additional settings too. I'll try with Ubuntu first and if needed I'll install Debian. First I need to understand what I have to set. Doing this doesn't work: Connection name: Wireless connection 1 [x] Connect automatically Tab "Wireless" SSID: oz Mode: Ad-hoc Band: Automatic (Channel: default) BSSID: Device MAC address: Cloned MAC adresse: MTU: automatic Tab "IPv4 Settings" Method: Manual Adress: 192.255.0.1 Netmask: 255.255.255.0 Gateway: 1.1.1.1 DNS servers: Search domains: (DHCP client ID:) [x] Require IPv4 addressing for this connection to complete Nothing edited for "Routes..." Nothing edited for tab "IPv6 Settings" Tab "Wireless security" Security: WE 128-bit Passphrase Key: 1234567890 Even a reboot won't connect WLAN. And assumed everything should be set up correctly, there still is no password? I can't find any howto. Regards, Ralf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329610700.2105.5.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
PS: [x] Available to all users. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1329610897.2105.6.camel@oz.(null)
Re: How to share the Internet with Linux and an iPad by Wi-Fi?
On Sb, 18 feb 12, 21:00:34, Ralf Mardorf wrote: > Hi :) > > I need to share the Internet for the PC with an iPad. Linux is connected > by PPPoE using eth0 to the Internet and the iPad should get access to > the Internet by a Sempre WU300-1K USB adapter connected to the Linux PC. How are you managing your internet connection on the Debian machine? If it's Network Manager you can use it directly. If you are using ifupdown you'll need to tinker with hostapd and IP forwarding and (optional) some dhcp server (I prefer dnsmasq, because it also does DNS caching). Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature