Fedora Networking :: Connection Sharing With Network Manager
Dec 21, 2010
I'm trying to share internet connection with my wifi capable mobile device. For that I'm creating ad-hoc wifi connection in networkmanager with 'shared to other computers' ipv4 option. And there is the problem - the device cannot get the setting via DHCP. The firewall is adjusted properly by NM, dnsmasq is started. I've looked at dnsmasq arguments string and found that the temporary config file which is provided by NM is empty. So, where else should I look for a possible reason or should I just post a NM bug?
how to change the IP range provided by default by Network Manager / dnsmasq from 10.42.43.-- to something else?
I have setup a working network using a Bell wireless modem (Canada) and Network Manager in 8.10, 9.04, and 9.10.to do Internet connection sharing. In 8.10 the only way I could get it to work was with WICD and KPPP, many hours spent on this one. I got it to work in 9.04 and 9.10 using network manager, but certainly not out-of-the-box. If someone would like some tips on how I did it, in each case, let me know.
My current challenge is trying to set the dhcp range of dnsmasq (which I am 99% sure is what is handing out addresses) from th 10.42.43.-- address range to a 192.168.0.-- range.
I HAVE edited /etc/dnsmasq.conf and can get the edits to this file to break the setup (dnsmasq will not start) but have not been able to get it to change the IP address range.
It seems that either this file is ignored, or overridden by some other process. I have looked at the very good post at [URL] about dnsmasq but this does not do the trick.
By the way, the way I can get this to work is to start NM, establish my cellular internet connection, then kill dnsmasq then establish my ICS network (on eth0). If I don't kill dnsmasq, then it does bring up the connection, but it then shuts down in a matter of seconds. It is all very manageable using a launcher (kdesudo pkill dnsmasq) on the task bar, but not all that elegant.
the IP range and where this is provided to Network Manager or the network itself is my real question now.
How do I tell the shared connection that it has a static IP and that I dont want a DHCP on the network?Do I have to set up DHCP on the box with the shared connection, even if that box only runs DHCP for a single IP address being the eth0 that is shared?Or can I tell the shared connection that it has a static IP and still allow network manager to run the shared connection?Or should I specify static IP's for all clients and the shared network manager and install say firestarter on the gateway to run the NAT for the eth0 out to eth1.
This has already been asked, and answered here: [URL] but there is one problem, this requires a window manager, and network-manager. I am using Ubuntu 9.10 Minimal with no window manager, and i want to recreate the exact effects of the second post in the above thread.
I have one desktop (Ubuntu 9.10 Minimal) with a USB wireless adapter (wlan1) and an ethernet port (eth0). I want my second desktop (also 9.10 Minimal; connected to desktop 1 via ethernet on eth0) to recieve the connection through desktop 1's wireless. I realize this is rather easy with network-manager, but I am not sure how to go about it through command line.
Fresh install of Fedora 14 from Live cd.Used it for an hour or so, d-loaded some programs, had ti all running great. Wired connection to internet. Had the Network Connection Manager icon in panel. There was an icon saying new updates, alot of them, like 400 or so. Told it to go ahead and up date, left room. Came back hour later was done, said it needed to re boot, so I did. From then on, no internet, not icon, no Network Connection in the drop down list for preferences.
What I have tried:Worked off live cd, again, all works fine, icon, manager, internet all there.In installed version: In terminal, typed service Network Manager, it said unrecognized service.Did yum install network manager. It started to do it, but looked like it was trying to get stuff off mirrors, and of course there is no internet access. error PYCURJ ERROR 6.Of course I can re install, but I figure I will just end up in the same place a few hours from now.
I have installed recently the Fedora 8 in a computer and during installation it was set a static IP with the netmask and gateway. At first it worked well, but after some boots the connection begins to fail. It seems that the network-manager withdraws the static IP and tries to get connection via DHCP. Below is the /var/log/messages file during the failed connection:
Code: Sep 19 10:36:53 canario avahi-daemon: Interface eth0.IPv4 no longer relevant for mDNS. Sep 19 10:36:53 canario avahi-daemon: Withdrawing address record for fe80::20d:87ff:fe0c:355f on eth0. Sep 19 10:36:53 canario NetworkManager: <info> SWITCH: terminating current connection 'Auto Ethernet (eth0)' because it's no longer valid. Sep 19 10:36:53 canario NetworkManager: <info> Deactivating device eth0. Sep 19 10:37:07 canario system-config-network: -+ //etc/modprobe.conf #011eth0 alias sis900 .....
I have updated the system this morning and the vpn stopped working!It gives me an error: invalid secrets.I use network manager to connect to a pptp vpn connection, I use fedora 12.Does anyone know the problem?
Just replaced a working install of Ubuntu because i like GS over unity but i cant get my USB760 EVDO card to work. The usual fix of editing the cd.rules file and copying some information into modem.fdi does not seem to work on F15..
Also, noticed that when i attempt to create a broadband connection using network manager it allows me to go through all of the setup dialogs, but never actually adds the broadband connection.
I have 2 workstations that I'm trying to network together so that I can backup each to the other. One is XP sp2 and the other Fedora 9. Since installing Samba on the Fedora box and trying to get it configured, I have a problem that Add/remove programs won't do installs because it says there's no connection to a network. Network Manager says there aren't any connections, but it worked before the Samba install. Mozilla and Thunderbird can access the internet OK. Both workstations are connected by cable to my router and thus to my ISP (DNS server).
Two questions:- where can I find hints on setting up a wired connection (which card's MAC address does it want? router or wrkstn?) and Am I right that Add/remove is stuffed because of Network Manager?I now have Samba working from Linux to XP, but still can't get into Linux from XP. I tried the Linux PC's MAC address and set up a wired connection in Network Manager. NM still thinks there isn't one...
I recently installed fedora 15 on my computer but I have a huge problem. I can connect to my router wirelessly for a couple of minutes only. Afterwards my computer has no Internet connection although the network manager and the icon on the upper bar says that i am still connected. I tried editing the /etc/rc.local and /etc/resolv.conf as mentioned in other posts in here bit no luck so far.
I have a pppoe adsl connection. When I disconnect and try to reconnect, network-manager keeps asking for my password. I type it again and again with no success. When I reboot, it works again. On ubuntu, I use pppoeconf and it works well. So on Fedora I made a connection with pppoe-setup but neither ifup nor Code:
pppoe-connect commands work. When I type Code: pppoe-connect , it says Code: /usr/sbin/adsl-start: line 217: 13409 Terminated $CONNECT "$@" > /dev/null 2>&1 . When I type
Ifup ppp0 doesn't work either. However, with exactly the same settings, ubuntu connects to the internet.
i connect to the internet on my laptop using a usb modem. i want to share this connection with other computers. connected through lan cable. i want to manually assign ip on all computers. what should i do
I got a laptop with wireless. Next to it I got 2 desktops, neither of which have a wireless card and I don't have any usb wireless adapters or anything. I do however have an ethernet cord. In the past I was able to set my eth0 connection to be "shared to other computers", then from my laptop I could run the patch cable to the desktop and voila, internet to the desktops.
For some reason though, now whenever I try to connect from the desktops, there are 2 green circles and a little blue circley thing going around them. it spins for a while and then says disconnected. Also, now if (on my laptop) I connect to the wired network, my wireless stops working. I'm kind of stumped here, I tried deleting both connections from both computers, setting everything up again, and connecting, and I get the same problem. Also seeing as how I'm trying to troubleshoot this from my laptop and watch this thread, I can't exactly mess around with it much right now or I won't see any replies.
I've got access to my LAN and the Internet via my wired ethernet connection. I'd like to share that access with my iPod Touch (device shouldn't really matter) via an Ad-hoc wi-fi network.
This tutorial in the docs seems to describe the right setup but is very out of date (7.04). Instead I found this tutorial and followed it to create the Ad-hoc wireless network. I was able to connect my touch to the resulting ad-hoc network without a problem, but I didn't have LAN/Internet access.What's the next step to get the clients on the ad-hoc network out to the Internet?I found this page in the docs that says I'd need to install dnsmasq-base and uninstalling dnsmasq. I checked and dnsmasq-base is already installed but dnsmasq is not. I do have dnsmasq in /usr/sbin but the package description makes it sound like this should come with dnsmasq. Is the page out of date? Will uninstalling dnsmasq cause other problems?
I just wanted to know what's your opinion on my problem.I have few linux servers that can be located on any place in the world, only port 22 is open. At my office I need connection to every server, but every server must be isolated from every server.So by now I worked only with ssh authorization by username and password. What seems to be preferable ?.
1 Going on working with ssh with authorization. 2 working with ssh but with adding keys 3 start to work with vpn
So if I am keeping use ssh with authorization I need something that will change password every month only for security working with ssh key, it seems like key depends on gateway where key created so if change gateway I lost connection using vpn sounds good but in this case I mush isolate servers from each other.The best solution I think is combination of any two methods
I have fedora12 installed on my old laptop. I would like to use it as a wireless router so that I can use my new laptop without wires. The old laptop will be wired connected to the internet. I have already tried creating a wireless ad-hoc connection with the Network Manager and I manage to connect to the internet with my new laptop but only if I don't use any protection. If I want that connection to use WPA or WEP-128 it doesn't work!
After connecting my phone via bluetooth using Blueman and then activating Dialup connection in Blueman, it says "Now DUN is available in Network Manager" or something like this. But, there is NOTHING about DUN connection in NM. What this thing is telling about?
I'd like to use NetworkManager on a freshly installed CenntOS 5 on laptop Lenovo ThinkPad T61p. I followed: [URL] Everything went OK, until I selected my active LAN connection in "Edit Connections". After clicking on "Edit", it's not possible to change anything - all is grayed-out. I'm guessing it's a permission problem. But I don't know the internal structure of NetworkManager and what files to look at. I was also expecting that after stopping the network service "Syetem->Admin->Network" would be inactive, but it isn't. Shouldn't the old network manager be uninstalled as well?
I just want to use Internet Connection Sharing (ICS) to connect to the internet. I have done a massive amount of troubleshooting, but some of it seems to contradict itself, and the only two things that I know for sure are that it used to work, and that my Ethernet cable is not the problem. When I use Terminal utilities like ifup and dhclient it seems that it can not determine IP information, but when I try to put it in manually, the "Apply" button grays out right after I finish typing it in. When I try to connect normally, in KDE or GNOME, the icon acts like it's connecting, then instead of having the connected icon, I receive a notification that "the network has been disconnected", and it goes back to the disconnected icon.
Oh, and by the way, I know that I could probably find a workaround, but I have limited resources, and this used to work. The Linux is a Dell desktop with Fedora 12 and the Windows is a Windows 7 HP laptop.EDIT: I hope that I didn't mess something up, but I accidentally used system-network-config to try putting in the IP address there, and ended up changing it back to the original settings, but the computer is now calling it Auto Ethernet in the taskbar icon, although sudo iwconfig in the terminal still calls it eth0.
I'm running lucid 10.04 on my netbook (regular desktop distro though). I enabled the proprietary drivers needed to get wireless working (I have an hp mini 110 by the way), but the applet in the taskbar will never show a connection, even if it is connected.
- a wired network - a wireless network - a mobile broadband network as both "system connection" and "automatic connection".
I need to have a laptop that will try to connect as sson as I plug the ethernet cable in or as soon as it senses a certain SSID or as soon as there's a mobile broadband device plugged into a USB port. Non-system connections are working but I am not willing the actual user (non-admin) to read the WPA2 key or the SIM PIN. But the check box for the system connection is disabled. And running "sudo kcmshell4 --icon networkmanager kcm_networkmanagement kcm_networkmanagement_tray" doesn't result in a system connection.
I've read a lot on the internet about various ways of doing this but i've been unsuccessful each time. Basically what i've done is accidently un-installed network-manager because I was having trouble staying connected on my WPA network. The easiest way of reinstalling it I know of is using the CD but I don't have a CD ROM drive and the pen drive I used to install it I no longer have.
I tried using a program called Keryx but you need python installed and from some reason this doesn't come with ubuntu 10.10. I've also downloaded the .deb packages but I still need to download 200kb which is a killer. I've also downloaded it from here too [URL] but the install file makes no sense to me as i'm not a massive linux user. One last thing reinstalling isn't really an option as i've already put a lot of time into setting up this computer.
I can connect to the wireless at my school, but the connection drops frequently and regularly. Network Manager still shows bars indicating the network strength and shows that it's connected to the network in the dropdown. Selecting the network again causes it to indicate that it disconnects and reconnects. At this point I have wireless until the connection drops again. Possibly relevant details: This is the Purdue PAL2.0 network, which can be tricky to connect to, particularly for Linux users. It's a hidden network using WPA2 and PEAP. My computer is a Dell Inspiron 1420n laptop, circa August 2007.
I am having problems with my 3 dongle- when I connect it to my netbook it flashes green so it detects a 3G network. However there is nothing in network manager enabling me to choose the mobile broadband so I can't use it. I know there should be an entry "mobile broadband" after the wireless networks listed.
I know the dongle works because I have previously used it successfully- I was using Linux Mint 8 and have now updated to version 9 and when I have tried to use it have been unable to do so.
I have gone into the connections and my 3 connection is present but there is no way for me to select it in network manager.
I have a Ubuntu 10.04 laptop that gets its Internet connection via WIFI using WICD as network manager, and Windows XP desktop with no Internet connection. What I want to do is share my Internet connection from my laptop with my desktop via a Ethernet cable. But i have no idea what to do. How do i go about doing this?