Re: Internet sharing over multiple interfaces
Am Mittwoch, den 02.06.2010, 00:05 -0700 schrieb Dan Williams: > If you're are already locking the connections, let me know and we can > debug further. I used the interfaces eth0 and eth1, which were there right from the beginning, after installing NetworkManager and they both had their MAC address filled in. The DSL connection has this field left blank, allowing me to choose the network adapter to use for dialing in. Because a new power adapter for my router arrived, there is no need for me to have this fixed at the moment. But if you want to fix it, I will help you. I have rebuild a similar setup for testing. So there is a Ethernet switch to which 2 computer (PC and laptop) and a DSL-modem are connected. All are connected with only one Ethernet card/cable. The PC is connected via eth1 and dials in. I also told NetworkManager in the IPv4 settings of eth1, that it is to be shared among other computers. This time eth0 is not involved and NetworkManager will not even start dnsmasq, as it did the last time for eth0. If I repeat this with my laptop, which is running Ubuntu 10.04, I see that I can either dial in using DSL, or participate in the network over Ethernet. Maybe I am wrong, but at the moment it seems not to be possible to create more than one connection over an wired interface. ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Internet sharing over multiple interfaces
> yeah, i'm having a hard time trying to share my internet connection. > I have mobile broadband, want to share it via LAN, no success.. > > what would it take to pull this off with a couple of clicks and NM's > help? I have difficulties understanding your problem, because of some missing English experience, so here is the answer from what I understood. If you want to make your mobile Internet connection available for computers, which are connected to you via LAN, you have to go to the settings of your LAN adapter in NM and go to its IPv4 tab. There you change the method from DHCP or anything else to "Shared to ...". Then will be the computer which are connected to your LAN card be able to get an IP via DHCP. ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Internet sharing over multiple interfaces
Hi, the power adapter of my router broke and atm I am using NetworkManager to create a Internet connection and share it with other PCs. The network setup is, that all devices (including the ADSL-modem) are connected to an Ethernet switch. The computer, which is managing the Internet connection got two wired network interfaces eth0 and eth1. eth1 is used to create the ppp0 connection and was at the beginning the only card, which is connected to the switch. I activated "Shared to other computers" in the IPv4-tab of both cards, but only with eth1 this seems to work. So i had to use another Ethernet cable for connecting eth1 with the switch, too. Initially I wanted to use eth0 for my notebook. I am using Debian Sid AMD64 together with NetworkManager 0.8 and dnsmasq-base at version 2.52. Here is what ifconfig tells me about the interfaces eth0 and eth1: $ ifconfig eth0 Link encap:Ethernet Hardware Adresse 00:22:15:81:5a:c5 inet Adresse:10.42.43.1 Bcast:10.42.43.255 Maske:255.255.255.0 inet6-Adresse: fe80::222:15ff:fe81:5ac5/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX packets:49966 errors:0 dropped:134 overruns:0 frame:0 TX packets:61232 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:5844382 (5.5 MiB) TX bytes:74125324 (70.6 MiB) Interrupt:17 eth1 Link encap:Ethernet Hardware Adresse 00:22:15:81:78:1a inet6-Adresse: fe80::222:15ff:fe81:781a/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX packets:205201 errors:0 dropped:0 overruns:0 frame:0 TX packets:92754 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:239220870 (228.1 MiB) TX bytes:11124327 (10.6 MiB) Interrupt:18 This is dnsmasq: $ ps aux | grep -i dnsmasq nobody2231 0.0 0.0 21168 1192 ?S09:31 0:00 /usr/sbin/dnsmasq --no-hosts --keep-in-foreground --bind-interfaces --except-interface=lo --clear-on-reload --strict-order --listen-address=10.42.43.1 --dhcp-range=10.42.43.10,10.42.43.100,60m --dhcp-option=option:router,10.42.43.1 --dhcp-lease-max=50 --pid-file=/var/run/nm-dnsmasq-eth0.pid Is there a way to get this working with NetworkManager? At first I was pleased that NetworkManager can handle sharing one connection, but now I don't know how I could solve this without setting up a router myself. greetings Lutz ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
NetworkManager .7 with nm-applet .7 not working
I built both from SVN and it appears that NM runs, as evidenced below (presumably from my .6 config) and by the fact my networking still works: [EMAIL PROTECTED]:~# nm-tool NetworkManager Tool State: connected - Device: eth0 NM Path: /org/freedesktop/NetworkManager/Devices/eth0 Type: 802.11 Wireless Driver:ipw3945 Active:yes HW Address:00:13:02:17:98:36 Capabilities: Supported: yes Speed: 54 Mb/s Wireless Settings Scanning:yes WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes Wireless Networks (* = Current Network) *MedHead:Infrastructure Mode, Freq 0.000 MHz, Rate 62 Mb/s, Strength 83% linksys: Infrastructure Mode, Freq 0.000 MHz, Rate 62 Mb/s, Strength 35% MikroTik:Infrastructure Mode, Freq 0.000 MHz, Rate 62 Mb/s, Strength 77% the big house: Infrastructure Mode, Freq 0.000 MHz, Rate 62 Mb/s, Strength 28%, Encrypted (WPA) IP Settings: IP Address: 192.168.42.196 Subnet Mask: 255.255.255.0 Broadcast: 192.168.42.255 Gateway: 192.168.42.1 Primary DNS: 192.168.42.1 Secondary DNS: 0.0.0.0 When I try to launch nm-applet, I get the following from console: [EMAIL PROTECTED]:~$ nm-applet ** Message: NM appeared ** (nm-applet:8721): WARNING **: Error in device_get_property: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist ** (nm-applet:8721): WARNING **: Error in get_devices: Method "GetDevices" with signature "" on interface "org.freedesktop.NetworkManager" doesn't exist The applet shows up, but denies having any network devices. Is this most likely a dbus problem with NM .7? When I use dbus-viewer, I can't see anything resembling org.freedesktop.NetworkManager So I definitely believe the applet's error messages. Any ideas? Thanks in advance! -Josh ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list