Ubuntu Networking :: Reset Network COnfiguration And Default Ports?
Jun 25, 2010
The other day I was using BitTornado and it was running so slow it was almost unholy. After some research I found out that if the yellow light was on it means I couldn't receive any incoming connections and had to open some ports on the firewall. That, my friends, is not the problem. I tried to manually open up the bittorrent port and did some other things that I can't quite remember but eventually I accidentally killed all bittorrent functionality on my laptop.
Is there any way I can reset my network and ports back to the default settings or am I utterly screwed? I'd really prefer not to have to reinstall my whole OS just to fix my bittorrent or worse, have to download on Vista *shudders*. I'd rather go back to my uber-slow bittorrent than none at all. I've tried everything I can think of, even the godlike might of Google couldn't get me out of this one. Now I am forced to bother you, all because I wanted to see a damn sci-fi film from Switzerland (Cargo[2009]).
I seem to have somehow mangled my my Ethernet and wireless's connection to the outside world on my Ubuntu 10.04.1 machine. I was trying to get a static local IP, and that worked great for a few days, until I lost all Internet access completely. However, I can connect to my router on my wired connection - but not the wireless.
You can see what I did here: http://ubuntuforums.org/showthread.php?t=1600784
Now, I just want everything to work as it did when I installed Ubuntu 2 months ago. How can I reset Network manager back so that it just works? I realise that don't need a static IP, it can only be 2 IPs, as I have 2 PCs only.
Or is there some better way to manage my networks? I'm not the best when it comes to those.
I have been doing some customization to my ubuntu Box related to font settings. Now all the font settings for whole system have been badly scrambled. I am feeling it very hard to reset all the settings too default again.I have been modifying system---> Preference ---> Appearance. if there exists any way to reset my font configuration to default.
I'm trying to set this open-nic-dns (69.164.208.50) as default (instead of 192.168.2.1 - router-ip). So if I try to edit /etc/resolv.conf to this nameserver - but if i restart it's 192.168.2.1 again.
I'm running Debian server 5.0.6 and the latest stable version of Apache. I am hosting a website and it will stop responding after an unknown amount of time. In order to make the website work again I have to run /etc/init.d/networking restart. The server is running a static IP address and is not resetting when the website goes down. I don't know where to start looking.
Is there a way of resetting all of the network settings to standard, as if a fresh copy of ubuntu had just been installed? The resulting discussion trouble-shooting the OP's specific problems were detailed and informative, but failed to answer the fundamental question:
I have a program that connects to the internet that I would like to route through one of my secondary network interfaces. I need one specific port routed to eth1 instead of eth0. I believe that I should be using iptables for that, but I don't really know how to do it.
Accidentally I removed the NM Applet from the panel and I am trying to reset it. When I right-click on the panel and "Add to Panel", I couldn't see Network Manager. Hence I couldn't connect to the available wireless network. I am able to add Network Monitor, which is similar to Network manager, but this just displays info about current network.
if you try to browse the web from the machine, or log in through a nomachine (nxclient/nxserver) session, it claims there is no internet conenction. You have to run System|Administration|Network and select the stored "Location" for our wired connection. There does not seem to be an option to make this (one and only) "Location" the default. If the machine is up and incoming connections are possible (samba & apache), surely outgoing connections should be working without extra fiddling?
The issue with nxserver (nomachine) becoming unavailable on a re-booted unattended machine (unless someone logs in AT THE MACHINE and runs System|Administration|Network) is causing problems for remote access.
I've been having a network problem that I've been able to temporarily solve by rebooting the router, but even that can be shaky at times, and it can sometimes disturb others' internet activites, so I'd really like to tackle this while I can. I had an old thread about this, but it's ancient history by now, and plus which, I've got a bit more Linux experience and patience than I did before.
The basic problem is that NetworkManager will associate and connect to my home wireless network, but a) it won't let me ping the router or anywhere else ("Destination Host Unreachable"), and b) the connection lasts for maybe a couple minutes at most. If I reset the router, however, 9 times out of 10 it will associate and connect successfully and I can get online, but I have to run a constant ping to the router with a 10-second interval, otherwise it drops the connection, unless I'm doing a lot of other heavy network activity.
ping 192.168.1.1 (the router):
Code:
I've tried wpa_supplicant, but this is what I get (it's apparently unsuccessful...? ESSID/MAC addresses censored where necessary):
Code:
The last prompt line is included because I cancelled it myself; it didn't abort on its own. If left unmonitored, it basically keeps doing this over and over, with no visible network activity at all.
With NetworkManager, I can keep selecting the network's ESSID over and over, and it seems to reconnect, but I still can't ping out anywhere. I'm using a Netgear WN111v1 wireless adapter with ndiswrapper and the Windows drivers. I have no idea what the chipset is, and I doubt that Linux drivers exist for it, even if I knew what it was. The router is using WPA2 security (hence my trying wpa_supplicant)
lsusb:
Code:
ifconfig wlan0 (while connected; IP/MAC addresses censored where needed):
Code:
ifconfig wlan0 (while not connected; IP/MAC addresses censored where needed):
Code:
Code:
I only include this for format checking purposes. The commented out "psk" is the actual text passphrase, while the uncommented one is (presumably) a hex representation of the same key. Is this correct? I've never done this with wpa_supplicant before, I've only used NetworkManager (which is a pain in the @$$ because it requires X to run, and so it disconnects any time I log out/back in ).
Is there any hope of getting my wireless connection permanently working, so that I don't have to reset the router every time I need to reboot or log out/back in?
I just added a 2 port network card to a system that is running Fedora 11, but it is INACTIVE. I open the Network Device Control to activate it but there is no network ports in Network Device Control. It is empty.It looks like the system recognize the card and loaded correct driver.
I recently installed the new 11.04 release and was messing around with the Compiz settings on Ubuntu Classic. I tried logging on to regular Ubuntu and everything crashed. When I start up there is no log in screen, only text shows. (I enter my log in information then type 'startx' in the terminal to show my desktop.)
The desktop shows a messed up version of my custom configuration with Cairo-Dock all weird and everything in the wrong place. Also my custom start-up screen that I installed is distorted, and the GRUB screen shows up in purple.
If there was a way to reset Ubuntu 11.04 to the default settings? I tried typing 'unity --reset' in the terminal but it gets stuck at the line 'Setting Update "fullscreen_visual_bell"'.
"Ubuntu Server has no open ports by default" - [URL]. Does this mean right after a 10.04 Server Edition installation, if a user wants to start a web service e.g. a Java process to listen on say port 8080, he would have to configure the firewall first?
I just finished setting up a Natty box to act as my home router / home web server. I installed beta2 a few days before the final was out and updated all of the packages (also tried a dist-upgrade just in case ).
I performed the following setup:
- set up the webserver and sshd - set up dhcp server and adressing - set up rc.local to run rc.firewall with my filtering rules - set the router live (rebooting it)
And that was basically it. Everything worked fine, except when I tried to open any of the sites that are hosted on the webserver from the outside world. It turned out that all of the ports on the external interface were blocked.
I decided to stop my firewall rules (flushing all rules) and then scan my box from the outside - still, all ports seemed to be filtered. I then decided to reboot the machine, disabling all mention of the rc.firewall script, but the ports were still filtered!
I then disabled apparmor and made sure ufw is disabled, but the ports are still filtered for the outside world. For the internal network they are not filtered.
Is there some other mechanism besides iptables rules that filteres packets?
I've been looking at possible options - I might install new from the CD if I have to. But before I do that, I'm wondering if there's anything I can do to restore the system to the way it would have been if I'd actually done a clean install - but to leave /home intact and perhaps the application also. (I haven't installed that many). I'm running 9.10, upgraded from 8.04>8.10>9.04 - it's working but There are some issues I can't seem to resolve such as stuttering audio.
When I ran 8.04, force check would be run every 23 boots. The ESCAPE key allowed me to skip it that boot and it would again start force check at the next boot. In 10.04, it gave me an option to use the C key to cancel, but it does not attempt force check at subsequent boots. It does not seem to do an automatic check any more.
How can I restore the original 10.04 setting? Or better yet, get it to perform as it did in 8.04
I customized the appearance of my Xubuntu and now I would like to go back to it's default theme. The problem is that I don't know how. I've switched to greybird but it seems that it's not enough.
I've tried to set up a Hadoop cluster on a few freshly-installed 10.04 Server Edition machines and hit a problem. (I was able to set up the cluster using Desktop edition previously). The issue is that I can't connect to the service even though the Java process is running and listening on the port and there is no error in the logs. Anyway, I started to wonder if it was firewall issue so I googled it and found conflicting information.
1. "Ubuntu Server has no open ports by default" - [URL] 2. iptables shows different info. ufw is also disabled.
I even tried to enable ufw and did "sudo ufw default allow incoming" but still no help. The only package I manually selected during installation is OpenSSH server.
I managed to install the ubuntu One app on my desktop machine and it was working really well, but then it stopped working, when I forgot my password to the default keyring. How do I go about resetting the password to my keyring? Is this possible?
Ive been googling for an hour, trying to remove everything named mplayer manually, but with no result. How on earth do i reset mplayer settings the default settings, or how to i remove it completley from my harddrive?
I was messing around with Ubuntu trying to make somethings work. Then i rebooted ,and I wasn't able to turn on Visual Effects. So I'm guessing that I must have replaced my video card driver with a non-compatible one or just removed it without knowing. So I was wondering "How Can I Switch Back To The Video Card Driver Ubuntu Came With?" Without reinstalling Ubuntu? Since I was able to at least switch on Visual Effects with it.
I accidentally deleted my /etc/fonts/font-config file and now my fonts are all terribly out of whack in several applications including Synaptic, Chromium, Firefox, etc. How do I reset my fonts back to the Lucid Lynx default?
my question is simple and yet in true linux fashion the answer eludes my best google searches.
i accidentally removed my taskbar from the bottom of my Fedora 11 KDE desktop. after messing around with it i was able to get a working panel using the add panel feature, but i dont like it.
how do i restore my KDE desktop to the Leonidas default that it installs with?
1. I have messed up KDE desktop on SUSE 11.2. I have installed Gnome and XFce desktops. I can happily work in Xfce (best on my old machine) or Gnome.
2. However...I want to re-set KDE to original with desktop folder and bottom bar. How to do it?
3. KDE works ok, Full desktop files downloaded. it is just a messed up desktop no desktop folder no bottom bar. A widgit of a bar to log out and get menu has been set up to work in KDE.?
I had some troubles on samba, so I re-installed it.After I uninstalled samba, I noticed old /etc/samba folder/ files were left, so I deleted all of them. Then I installed samba, however, no /etc/samba files were installed.How can I generate default samba configuration files??