Networking :: Writing Network Manager Application ?
Apr 15, 2011
I try to understand the way the network-admin tool retrieve and set information about the network connections, and after reviewing thee code, I still dont undertsnad how it does it. I thought that it should use maybe linux commands such as iwconfig or ifconfig or by using ioctl for get/set the parameters of the wireless, but I did not find such things in the code. It also does not use AT commands for modem devices parameters.
I see that it uses liboobs files, but after veiwing the code, I still don't understand how it works.
These question comes since I work on application which connects to wireless devices (possibly several wifi and modems devices can be connected ), and I try to think how to set/get the network parameters, I thought that a good start will be to look at how network-admin works.
View 1 Replies
ADVERTISEMENT
Feb 17, 2010
application to monitor application wise network usage?
View 3 Replies
View Related
Jul 7, 2010
I'm trying to write a simple, console based application in linux, in c++. I know how to start in Eclipse and I have some experience in c++ from Windoze. I would like to ask, if there is some tutorial available on writing console apps. I mean, I know from using linux that there are two conventions on using parameters in command line (-v and --version for example).
View 2 Replies
View Related
Jun 30, 2009
I am getting no packages listed in Gnome application manager gpk-application 2.27.2. I have tried 'yum clean all' and get the following error messages.
View 3 Replies
View Related
Mar 26, 2011
I tried this command to print the buffer of an existing screen session to stdout but I don't know why it doesn't print anything.
screen -x lftp -X hardcopy /dev/fd/1
screen -x lftp -X hardcopy /dev/stdout
It works if I use a regular file instead, so why doesn't it print to stdout when I use /dev/fd/1? I do this with other applications don't have an option to write to stdout and it works, so what does GNU/Screen do that makes it not work?
View 1 Replies
View Related
Apr 13, 2010
I am writing a script that is designed to verify an application is running. The if...else statement in question is the following:
Code:
# Check if <application> is running.
ps -ef |grep <application> > /dev/null
RC=$?
echo $RC
[Code]....
I have started testing by disabling the application in question, and then running the script. The problem that I am seeing is that even though the application is not running, I am getting an output code of 0 due to the successful running of the ps command. What syntax change(s) do I need to make in order to accurately determine when the application is not running?
View 3 Replies
View Related
Jul 1, 2010
I recently fixed an annoying problem and I thought it would be nice to share my solution here. The problem was that after a cycle of suspend/resume, Network Manager would only auto-connect to the same network as it was previously connected to. So, for example, if I suspended my laptop at home, and then I went to school and resumed it, it would try to connect to the home network, and then just give up. It would not connect to the school network unless I explicitly told it to.irst, I'll describe the fix. If you're having this problem, you can this. Copy the following:
Code:
#!/bin/sh
case "$1" in
[code]....
View 5 Replies
View Related
Jan 24, 2011
I am a Windows refugee who discovered Ubuntu as a way to save my files from my virus-ravaged computer. Had no installation discs for Windows, so when I had to wipe my hard drive and start over, I decided to give Ubuntu a try. I've had mixed success, but that's another post...
Right now, the problem is that I installed 10.10 two weeks ago and was able to connect to the Internet with no problems - until yesterday. Suddenly, our wireless network (the only one in the vicinity) does not come up as available in Network Manager. In fact, the entire wireless option disappeared. I know there are many posts and threads on here about this, but weeding through them trying to find an answer is more frustrating than actually dealing with the problem. I know the router works because I can post on this forum from the Macbook. I really like Ubuntu and would like to keep using it, but not being able to connect to the Internet now on top of the other issues I've had is making me doubt I want to continue down this Linux road.
P.S. When I attempted an analysis through System Testing, it said something about there being no proprietary drivers?
View 2 Replies
View Related
Jun 14, 2010
I have used ubuntu in the past but had a lot of hardware issues with it and unfortunately moved back to windows (( BUT i have tried Ubuntu again and all seems to work great except wifi My wifi connection is sort of working because when i run SUDO IWLIST SCAN it does pull up all available networks. But in the network manager icon on the panel i left click but i see no networks and can't connect to anything. I WOULD LOVE TO keep Ubuntu and use it permanently but I must get wifi working or else this won't be possible.
View 4 Replies
View Related
Feb 18, 2010
I have the problem with my notebook, that, after I used it at work, the network-manager always tries to autoconnect after boot. He has no cable network and so I get the message "not connected" after a while.how to tell the network-manager, not to autoconnect each time?
View 4 Replies
View Related
Jul 10, 2010
I recently put Linux on a Thinkpad T40 I got. The wireless card works out of the box--I can see nearby networks. However, I can't connect to mine. network-manager would try (spin spin spin), fail, ask for the password, and then go back to the beginning and repeat indefinitely. This happened to me on a different computer, and on that one all I had to do was use wicd instead of network-manager. So I installed wicd, but it's not working either--it hangs at "Obtaining IP address".
I've found many, many threads with people who had the same problem, but none of their fixed worked for me.
I also tried to get wifi going manually, using this guide, but that didn't work.
View 3 Replies
View Related
Oct 26, 2010
My wifi connection drops sometimes and, for some reason, Network Manager attempts to connect to my neighbor's network, which requires a password (which I don't know). Is there any way to blacklist a wireless network so that the Network Manager will never attempt to connect to it?
View 4 Replies
View Related
Mar 2, 2010
I had trouble connecting to a wireless network with openSUSE, so I tried the YAST network manager to see if that fixed it. Not only did it not fix it, but now I cannot connect to any network, wired or wireless. I tried to open the default network manager and it said "Network management disabled". How do I re-enable it?I also have set YAST settings back to their originals with no luck.
View 7 Replies
View Related
Apr 6, 2011
Is there a program that I can install that will display a visual/graphical representation of the local Network Topology?
View 2 Replies
View Related
Jun 22, 2010
I am an undergraduate student doing some work in Cambridge, MA on NS2. As my project/paper relates to simulating different types of applications like FTP, RTP, and SIP, as they relate to commercial products (VoIP, email, bittorrent, http) and congestion, I was wondering if anyone knows of any simulation models already available besides the example ones released by NS2 and the contributed code found at [URL]. Also, does anyone know of any tcl scripts that simulate specific applications (including the transport layer and Internet layer)? I am using Ubuntu 10.04 LTS and NS2 2.34
View 1 Replies
View Related
May 3, 2010
I'm try to create a mobile broadband connection using my Huawei E 1550 medem. but in Network manager there is not way to select my modem in the first step ( device selection step ) the drop down menu is locked. what to do ? how to configure my modem with ubuntu ?
View 1 Replies
View Related
Apr 2, 2011
Whenever I start up my laptop i do not get a wireless connection automatically. I have to rightclick network manager applet and select enable networking. After that everything works fine untill i shutdown and restart my laptop. I would like a way to change this so that my wifi connection is working whithout having to click something first..
OS:Xubuntu 10.04 LTS!
hardware: dell inspiron 6000
nm applet: 0.8.?
View 6 Replies
View Related
Aug 23, 2010
Neither of my wired network connections are listed in the network manager applet. I know that networking seems to be functional since I can ping local devices on the network. I can't resolve DNS names however. I suppose this is because network manager usually handles DNS? I've posted the outputs of various configurations below.
Code:
/etc/NetworkManager/nm-system-settings.cfg
# This file is installed into /etc/NetworkManager, and is loaded by
# NetworkManager by default. To override, specify: '--config file'
# during NM startup. This can be done by appending to DAEMON_OPTS in
[code]....
View 4 Replies
View Related
Apr 19, 2010
How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection? I have looked into forcebindip but it crashes on wine.
View 1 Replies
View Related
Apr 8, 2011
How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection?I have looked into forcebindip but it crashes on wine .
View 5 Replies
View Related
Sep 1, 2011
is there any way to monitor each application network bandwidth usage ?I've used gnome-system-monitor, but unfortunately it just show the total network activity
View 3 Replies
View Related
May 10, 2010
Loaded Ubuntu 10.4lucid on TransPort NX Mobile Pentium II, 328MiB,Using Netgear Rangemax wn511b. with Broadcom STA wirless driver. bcm43gx.Boot computer and network manager shos "no network devices available" Run system/administration/hardware drivers and the Broadcom STA driver shows up (only one that shows up) REMOVE and then ACTIVATE and the network manager sees it and connects fine. Shut down computer, restart and no device. I am forced to Remove and Activate each time I start the computer.Is there a way to set this driver to be found and run at computer start.
View 4 Replies
View Related
Feb 27, 2010
Since the last update the 'wireless network authentication required' box keeps asking me for my wep key. Everything was working fine previously, I've even re-installed ubuntu just in case it was something I did....again everything was working OK until I installed the latest Nvidia drivers and updated ubuntu.I can see my wireless connection when I click on the network manager icon I just wont connect.Wired connection works fine.
05:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
View 3 Replies
View Related
Jul 24, 2010
I'm using NM applet to connect to the Internet.I just need to know my Internet usage details such as Connection Duration,Data sent and received.
View 2 Replies
View Related
Sep 22, 2010
I'm trying to change my network settings under Gnome and 9.10.
System->Preferences->Network Connection brings up "Network Connections". Under the "wired" tab, I see "ifupdown (eth1)". The edit button on the right side is grayed out.
Is this where an IP address can be config'ed, or is it somewhere else?v
View 3 Replies
View Related
Jan 12, 2009
In 8.04 I can use the network manager app to set a static IP.
In 8.1 the network manager doesn't seem to work. I tried many different permutations of settings and got nowhere. Even though I put in IP subnet and gateway it still does the DHCP config.
So I added lines to my /etc/networking/interfaces file like this:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
I then either reboot or do this: sudo /etc/init.d/networking restart
This made the network manager icon in the top panel vanish. An ifconfig showed that those settings are in place but DNS doesn't seem to be working. I can ping other hosts on my network by IP but not www.yahoo.com etc.
I even read the man, that's how desperate I got! (a config like the above seems to work on my 8.04 machine except that the auto eth0 appears at the end of the file.)
I didn't see how to set the DNS server(s), unless I was in the wrong man.
View 7 Replies
View Related
Mar 25, 2010
recently i did a reinstall of debian lenny with gnome. My laptop has the broadcom wireless chip, and went and got the squeeze broadcom-sta deb packages and installed them, following the debian wiki. Everything seems to be running. iwconfig shows lo, eth0 both with no wireless connections and eth2 that seems to be running.My issue seems to be with the wireless configuration with network-manager. I have used this in the past and like it well enough and didn't have any issues with it. But for some reason, it is not working with this installation. It doesn't show up as a panel addition and when i try to command line call it up (nm-applet), the terminal just sits there doing nothing. I try to call it up as root, no dice - gives me the gtk-warning cannot open display issue that a xhost +localhost doesn't fix. Reinstalling network-manager and associated packages didn't work. So, fine, i tried the network monitor applet. I cannot select eth2, but by typing that into the connection name, i get a signal strength % - another indicator to me that the wireless chip is working - and then i'll click on the configure button, i get the root password prompt and nothing at all. I am currently seeing about setting the network up command line style, but the 'ol command line is not a strong point for me and everything i read sets things up differently. Other gui applications that require root privileges like synaptic work fine.
View 2 Replies
View Related
May 29, 2009
I'm running Ubuntu 8.10 and I want to setup a VPN connection. Problem is the VPN tab in Network Manager has a lock and won't let me add any new connections. I've installed open-vpn but still have no option to create a new VPN.
View 5 Replies
View Related
Mar 17, 2010
I am new to linux and using ubuntu as my Os.I installed a package named WICD network manager through ubuntu software center.After that my network manager in ubuntu is missing.I am using broadband conection and i cant connect to it through the WICD.I try to reinstall network manager by installing debian package.But it says "installation failed ,dependancy not satisfactory.How can i reinstall network maneger without network connection.
View 1 Replies
View Related
Jul 30, 2011
I am running Ubuntu 9.04 as a partition with windows 7 on a acer aspire 5742, I would like to connect to the internet in Ubuntu, wirelessly, but I am unable to turn my wireless on in Ubuntu, and network manager says "no network connections available". I have the following network adapters:
Atheros AR5B97 Wireless Network Adapter
Broadcom NetLink (TM) Gigabit Ethernet
Microsoft Virtual WiFi Miniport Adapter
View 9 Replies
View Related