Networking :: Change DNS And Restart Network?
Mar 2, 2011
I need to change DNS server that I'm using from a provider to another.Let's just say I'm using a local DNS, and wanted to use Google's DNS.I'm using CentOS, so a friend of mine told me to directly change file:/etc/resolv.confand I already did it.My question is: Do I need to restart my network after changing this file?How do I know that I'm already using the new DNS instead of still connecting using my old DNS?
View 4 Replies
ADVERTISEMENT
Apr 1, 2011
I installed openSUSE on my notebook with an usb drive using openSUSE 11.4 KDE LIVE iso. The installation process set the name to "linux-ygrl" which I don't really like. (I probably just missed the setting during the installation.). I tried to change it through YaST -> Network -> Hostnames and I set everything where needed to the new name and restarted but the changed weren't applied. I searched the web and found out about the /etc/HOSTNAME file which still contains "linux-ygrl". Now I could change it manually but I was wondering if there is a GUI for it? (I mean, openSUSE has for alsmost everything a GUI.
View 9 Replies
View Related
Mar 13, 2010
I have a suspend problem in my laptop. Sometimes, when resuming from suspend, the network adapter is down (that is, the network does not work and the light of the network adapter is off). Restarting the network service doesn't work, because I think that the system forgot about the hardware, and probably the driver should be reloaded.Does anyone knows how to do that?(ps. /etc/init.d/networking restart does not work, because the hardware driver is not being recognized anymore).
View 5 Replies
View Related
Nov 1, 2010
I had been manually starting my wireless network with "sudo iwconfig wlan0 essid "my wireless router id". The network would start and work flawlessly for weeks at a time. I can't ask my wife to find the essid in the terminal and then start wireless manually when I'm not here. She hates and fears the terminal. So I downloaded gnome network manager for a point and click interface on gnome panel.The network would start fine but shut down after anywhere from one to six hours. It would then refuse to restart manually or otherwise. I completely uninstalled network manager and tried wicd instead. The same basic problem is happening. The network will restart if I reboot the computer. My system:
Desktop computer acting as proxy server for the internet. Internet connection is by a dial up modem. This computer uses a wireless pci card connected to a dedicated hub. This is for file sharing via nfs. The OS is ubuntu 9.10. My wife's computer sharing the internet using a proxy to my computer. File sharing via nfs and a wireless card. Also running ubuntu 9.10. This same basic system worked flawlessly under Ubuntu Hardy.My desktop was updated recently with new hardware which created the need to move to Ubuntu Karmic. Some hardware was too new for hardy to deal with.
View 6 Replies
View Related
Jul 15, 2011
My network become inactive but on GUI show that network active. When i ping out the network, is response times out. I need inactive the network and active back but sometime also fail reactive it. What main problem. CentOS running on vmware
View 1 Replies
View Related
Jun 23, 2009
If I restart the network service, not all interfaces come back up. Is this expected behaviour or does something need a kick?
Code:
[root@@aspire3500 ~]$ service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface wlan0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
[root@@aspire3500 ~]$
View 3 Replies
View Related
May 1, 2011
I use fedora 14 and when I'm trying to run the network service on my system it gives me the following error -
# service network restart
Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disconnecting failed: This device is not active [FAILED]
Shutting down loopback interface: Error: Device 'lo' not found. [FAILED]
Bringing up loopback interface: [OK]
Bringing up interface eth0: Error: Connection activation failed: Device not managed by NetworkManager or unavailable [FAILED]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
And whenever I try to activate the device in graphical mode again it shows the above same error.
View 6 Replies
View Related
Jul 26, 2010
I addes IPv6 address to my interface as
Code:
ifconfig eth0 inet6 add 3fff:ffff:6:5:4:3:2:1
But, when I restart the network service this IPv6 address is gone. How could I make it as a permanent IPv6 address( that should be edited or deleted when I want but not when I only restart the network)to my interface?
View 1 Replies
View Related
Jun 19, 2009
I have installed F11 on my Dell Inspiron 1501. I tried to get the Broadcom 4311 wireless card to work by following the instructions for installing the Broadcom driver from this link: [url].
That resulted in the following errors when I gave the command:
Code:
I removed the broadcom-wl package and installed the autoen package from DangerMouse. After rebooting wireless works but I still get the same errors when I give the command:
Code:
I had to disable encryption on the router to connect, but I guess that's a compromise I'll have to make right now. I will work on that some more after I get these error messages straightened out:
Code:
Note that wireless does seem to be working (though without encryption) despite the error messages. And I got these same error messages with the Broadcom driver but I could not get wireless working.
View 1 Replies
View Related
Aug 3, 2011
How do Stop, clear and restart Network Manager in Ubuntu 11.04 Classic Desktop?
View 2 Replies
View Related
Sep 21, 2010
I have been installing CentOS 5.5 on a VirtualBox virtual machine using the netinstall iso (leaving almost all options on default).It automatically obtained addresses of the nameserver the host machine was using. However shortly before the installation would have finished the nameserver went down and the installer started giving error "file ... cannot be opened".
After changing the nameserver address (to Google DNS 8.8.8.8) in /etc/resolv.conf , addresses can be resolved again (wget, ping) but the installer still gives the same error and attempts to connect to the original DNS.It there a way to tell the installer about the DNS change and resume installation? Or do I have to either wait for the original DNS or to do the whole installation again?
View 3 Replies
View Related
Dec 11, 2009
I found problem in FC 12 release. I installed fc 12 to server (earlier there was FC 7). Then as always i realised that names of interfaces (eth0, eth1, eth2 .... eth9) changed after install. eth0 became eth9, eth1 became eth5 ... Earlier on previous fedora releases i solved this problem correcting HWADDR in ifcfg-eth files, so i linked MAC addresses to names (eth0, eth1, eth2) as i wanted in a right order. Now I can't do this. After correcting these files and restarting network sevice i constantly get a message: device ... has different mac than expected. I looked ifup-eth file and compare it with the same one in fedora 7. And i found that in fedora 7 there is function rename_device which processes if HWADDR value doen't coincide with real mac address value. See code:
# remap, if the device is bound with a MAC address and not the right device num
# bail out, if the MAC does not fit
if [ -n "${HWADDR}" ]; then
FOUNDMACADDR=`get_hwaddr ${REALDEVICE}`
if [ "${FOUNDMACADDR}" != "${HWADDR}" ]; then
curdev=`get_device_by_hwaddr ${HWADDR}`
if [ -n "$curdev" ]; then
rename_device "${REALDEVICE}" "${HWADDR}" "${curdev}" || {
echo $"Device ${DEVICE} has different MAC address than expected, ignoring."
[Code].....
But in fc 12 release there is no function rename_device!!!!!!!!! So in this case if HWADDR value is not the same as FOUNDMACADDR value (which equal to REALDEVICE mac address) i just get an error message So I can't change interfaces names, as result i can't organize right order of network interfaces as it was earlier on fc7.
View 1 Replies
View Related
Sep 28, 2010
In gnome-network-properties I've set up two proxy locations: default and remote.
It's a bit of a fag having to change between them via the gui depending on where I am. Can the proxy be changed by command line because then I can set up a script to use the right proxy automatically? - e.g. use remote proxy if my mobile is connected via usb.
Had a google but don't think gnome-network-properties has command line options so I might be approaching this from the wrong tack.
View 3 Replies
View Related
Mar 14, 2010
I run an Ubuntu Server in a Virtualbox environment. Setup works fine. In virtualbox, I accidentally hit a button that generates and assigns a new mac address for the network adapter. Since then the machine does not bring eth0 up. I tried the following ifconfig eth0 down; ifconfig eth0 hw ether macaddress; ifconfig eth0 up. Then restarted networking.
View 2 Replies
View Related
May 11, 2010
Is it possible to have different /etc/hosts file for different network connections without having to go in and change it every time? The why: I have dyndns and port forwarding to get to my desktop. My laptop is sometimes on the same network, and sometimes not. Also, sometimes the dyndns doesn't update properly, or the outside connection is down, but I want to get to my desktop (and I'm too lazy to walk up the stairs). I'd like to be able to keep one set of bookmarks, ssh command aliases, etc. that would always get to it the fastest and most reliable way possible.
View 1 Replies
View Related
Jul 5, 2010
I have 1 router 2 pcs. We had to move one pc away from the router so I bought a wifi card. Everything went fine, the card works and I have internet but the network is incredible slow.
I am using Ubuntu Lucid Lynx 10.04
lspci | grep Wire
Code:
Code:
Then:
Code:
But there are no changes.
View 2 Replies
View Related
Jan 21, 2011
I have a script that I would like to run when my laptops connects to a new network (e.g. changes to another SSID). I've done some searching on the net but could not find any suitable solution (but I bet there is).
View 6 Replies
View Related
Apr 4, 2011
I would like to change wireless mode on my network card. When i type in iwconfig in terminal so i get abg I would like to have only a mode active. How do i do?
View 2 Replies
View Related
Feb 19, 2011
Because I am working with some 3d software, and to be able to start it I need to symlink libGL.so.1 and libGL.so.1.2 from /usr/lib64/ to libGL.so.1 and libGL.so.1.2 from /usr/lib64/catalyst/ folder. I move existing libs to new names by adding .bak at the end of file name.
But everytime I restart machine soemthing changes libGL.so.1 linking from libGL.so.1.2 (in catalyst folder) to libGL.so.1.2.bak (in usr/lib64/ folder), original file. And I can not start 3d software. Can I stop that from happening somehow? Why is that happening at all?
View 6 Replies
View Related
Aug 9, 2011
I downloaded the 7 Cds .iso and I proceed to make a copy in a cds. I change the boot in my PC and restart the PC to read the cds. But the program instalation not running. What I need to do?
View 3 Replies
View Related
Sep 2, 2010
I have a second network card in my ubuntu desktop that I have sharing my internet connection with a wireless router. I have set the router to a static ip address within the network cards range. But, every time I restart the computer, the network card uses a different ip address. One time it will be 10.42.43.1, the next time it will be 10.42.46.1, ect. This makes me have to hard reset my router every time it does this. How can I set the network card to use the same ip address all the time?
View 6 Replies
View Related
Sep 26, 2010
I've got two network card interfaces on my computer, one wireless and one wired. The wireless card is connected to the Internet and the wired is connected to the LAN. When only the wireless card is active, Internet works. As soon as i enable the second wired card, Internet stops working. And it seems like Ubuntu chooses the wired card for Internet as soon as it's enabled.
Are there any ways to solve this? So my Ubuntu box always chooses the wireless card for Internet traffic and let me use the wired device for LAN only?
View 1 Replies
View Related
Oct 21, 2010
I've been struggeling with this for a few hours now, googleing and so on trying to find an easy way to just switch which device I want as primary for internet connections. After long battles I'm at a loss, this is the current automatic routing
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
85.225.76.0 0.0.0.0 255.255.252.0 U 1 0 0 eth0
85.225.76.0 0.0.0.0 255.255.252.0 U 2 0 0 wlan0
[Code]...
View 1 Replies
View Related
Mar 4, 2010
Whenever I start my PC, the information of 'First Boot device' in BIOS changes from hard disk to CD-Rom. It happens with new start, I mean, if I restart my computer after resetting First boot device to hard disk, then priority does not change. Just as I switch on computer, a black screen appears with the message:
CMOS - checksum error - defaults loaded
press F1 to continue, DEL to enter setup
Recently it used to happen, that PC was not reading my hard disk containing GRUB. I have 2 hard disks. I switched the power cables of two hard disks. After that, both hard disks were shown by BIOS but the above mentioned error started appearing. Also grub takes too much time to load. It takes almost 20 seconds. Earlier I was using 'Puppy Linux'. In that, Grub was loading in fraction of second.
View 6 Replies
View Related
Mar 20, 2011
Had to restart following an extract crash, and upon restarting, much of my theme, including all my icons had changed. Prior to this I was using the Awoken Icon Set. I've gone through and rerun the Awoken Customization script, but no luck. Simply trying to change my theme, and icons in the theme manager doesn't work either.
View 1 Replies
View Related
Aug 24, 2010
that If I am fire a crontab which is running myScriptThe crontab is runningNow if I change the source code of myScriptDo I need to restart the crontab, to take into effect mychanges Ie I want in the existing crontab to take my updated script
View 2 Replies
View Related
Jan 25, 2010
after restarting my Fedora 10 the eth0 interface is not up
after i manually restart the network service everything is OK but after restarting it is the same problem.
this is the interface config file:
/etc/sysconfig/networking/devices/ifcfg-eth0 /etc/sysconfig/networking/devices/ifcfg-eth0
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0
HWADDR=00:0c:29:8b:82:6b
ONBOOT=yes
SEARCH="mydomainname"
[Code]....
i know i can put the restart service command in the rc.local file but it not suppose to work this way.
View 4 Replies
View Related
May 28, 2010
Compiz often keels over and then I have to restart the comptuer because even though I made a special script to restart it, I am unable to invoke it as I cannot change active window.However, since Metacity restarts itself, so should compiz. The question is - how?
View 5 Replies
View Related
Aug 1, 2011
I'm trying to install Wheezy on a Thinkpad T23. want to use Fluxbox, so during installation I uncheck the graphics options because I can install X and fluxbox later. After the install, the first time it boots up it can connect to the wired network and it will download things. But, if I reboot then it somehow loses its ability to connect to any wired network (and the T23 doesn't have built in wireless, so it obviously can't connect to wifi). there something that I can do to get ethernet back? Or, is there a way to, while I'm still on the first reboot, permanently install the ethernet drivers?I'm finally trying tmove away from Windows because a friend happened to show me his laptop which was running the free and open alternative to OneNote (Xournal) that I've been needing.
View 2 Replies
View Related
Aug 11, 2011
Some problems keep bothering me and dont let me use my debian sqeeze with joy.Im in network with no DHCP on. When installing i didnt configure my eth network card.After each restart i need to configure manually my eth because it loses it.
View 7 Replies
View Related