Ubuntu :: Manually Bring Up Network Interface Every Time
Nov 24, 2010
I have installed ubuntu server 10.04 amd64. The problem is every time I login, there is no internet connection and I have to manually run "sudo ifconfig eth3 up". (eth3 has the cable). What should I do to automate that?
View 8 Replies
ADVERTISEMENT
Mar 1, 2011
I'm configuring an HP Mini 110 (wireless BCM4313) to use it as a small Access Point (ad-hoc mode).
I want to make my configuration reboot friendly. With what I have right now, as soon as I reboot the laptop, the wireless interface configuration isn't correctly setup. I have to do "ifdown eth1; ifup eth1" manually.
Here is what I have in /etc/network/interfaces for the wireless interface code...
So the question is how can I avoid having to bring down and up the interface?
View 1 Replies
View Related
Oct 19, 2010
Every so often I need to manually IP if I'm hooking up an AP device or router and such. In windows it takes all of 10 seconds to do. In Ubuntu I know how to manually edit the /etc/networking/interfaces file but the last couple of days I figured it might be simpler to use the Networking Configuration GUI tool in System Preferences area. I edit the Auto eth0 device but it never seems to work for some reason.Can you use this tool to GUI change your IP's or do you have to stick with manual edits?
View 1 Replies
View Related
Mar 7, 2010
There are many time zone files accessible from the command line that don'thow up in the GUI ("system-config-time"). How do I add these time zones to the GUI
View 1 Replies
View Related
Jul 18, 2011
I have a ppp0 entry with post-up options like this
mapping ppp0
map none photon-plus motorola
map timeout: 12
[code]...
View 8 Replies
View Related
Feb 12, 2010
I like to disconnect the internet when I want to and connect when I want to. I've been using Etch but have now installed Lenny. This is what I've done:
Created in kwrite and saved in /home/[my username]/bin as "ifdown":
#!/bin/bash
#script to bring network interface down
ifdown eth0
Clicked "is executable" on the "permissions" tab of the properties.
Changed the ownership to root (chown root:root ifdown)
My notes tell me that this is what I did in Etch to have it working (via a shortcut on the desktop). Either my notes are incomplete/wrong, things are different in Lenny
View 14 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
Apr 14, 2011
I found multiple sites explaining how to add IPs to a network interface as virtual interface like eth0:0. However I can add IPs to an interface as well using the ip command: ip a a 192.168.2.2/24 dev eth0 What I want to know is how I can make this persistent on rhel/centos.
View 2 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
Aug 27, 2010
I have a problem with my Fedora system. Whilst I was messing around with my graphics drivers I managed to totally screw up the system, now my desktop won't start, leaving me with just the command prompt. In order to fix it I will need to get my wireless adapter connected to my home network, this is proving tricky. I understand that NetworkManager is responsible for bringing up the network but unfortunately without starting GNOME I don't have the settings available to me (through the nm-cli) or a way to configure it.
Is there a way to bring up whatever service holds the network settings without GNOME? In the meantime I am looking into alternative ways of configuring NM, perhaps through the DBUS interface? Even so, I suspect that I will still need a settings ervice at the end of it..
View 6 Replies
View Related
Apr 7, 2011
I am totally new to Linux and have just installed ubuntu 10.10. After configuring the network interface via dhcp I started getting these messages that come in so frequently I can't configure anything else.
[87.186415] Stack:
Why I am getting this messages and more importantly how do I get rid of them.
The installation is on a VM on Hyper-V.
View 1 Replies
View Related
Jun 24, 2010
how graphs can be plotted on a web interface on real time ? I have a web interface coded in PHP mostly and for graphs I have jpgraphs. But the job needs the graphs to be real time not static. As of now there's a server side program that writes onto a csv file. I read data from the file and plot it using jpgraph when the page loads. Is there anyway I can code real-time dynamic graphs on a web interface ?
View 2 Replies
View Related
Aug 30, 2010
today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:
Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15.
Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.
How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?
View 5 Replies
View Related
Aug 20, 2010
Config: Squeeze, 2.6.32-5-amd64I just installed squeeze and the network is up and nm-manager deamon if working but the Gnome applet doesn't seem to work as usual. It indicates no network although the network is available as indicated by ifconfig and route below. When I switch WiFi on, the nm works flawlessly. When I click on the applet icon it says "Wired Network: device not supported" (or similar, msg in french is
eth0 Link encap:Ethernet HWaddr 00:1f:e2:12:ea:d8
inet adr:192.168.0.182 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::21f:e2ff:fe12:ead8/64 Scope:Lien
[code]...
View 3 Replies
View Related
Feb 14, 2010
Last night while setting up wired & wireless connection in openSuse 11.2 Gnome version via YAST's ifup, I got wireless but lost wired connection (interface eth0). Dmesg shows that eth0 became eth1. I cannot get eth0 back. Is there any way to remedy this situation, eg. get info from the Ubuntu partition in my triple-boot laptop, without having to re-install openSUSE?
View 3 Replies
View Related
Mar 1, 2010
I would like to use zypper to update openSUSE 11.2 through the Virtual Terminals (tty1 thro' tty6).
Network Interface is wlan0 (Wireless LAN, home network through a Router) that requires a password using WPA2.
My question is how to start wlan0 through the command-line ?
View 9 Replies
View Related
Dec 22, 2010
I recently added a second interface to my Ubuntu 9.10 server, I now have a dsl AND Cable connection for it, Im not trying to load balance or anything sophisitcated, heres my problem.
The machines networked, I put static entries in my dhcp servers and both interfaces are up and live with dhcp, and Ive tried with dhcp and static, same problem occurs.
But my problem is that services will only respond on one interface at a time, not both.
Anyone know what the heck is going on here?
Kernel IP routing table
Should I make them static and remove both gateways?
View 1 Replies
View Related
Oct 3, 2009
I've got fedora 11 set up to use network time protocol to sync my laptop's date & time when I'm on-line. The question is simple really, I've added a local universality's time server (what is public) and it's live. but it's added to the end of the default time servers what come with fedora. How do I get fedora to just use the local time server, is it a case of removing the default time servers for fedora, but there is a box what says advanced options which are. sync system clock before starting service ???? & use Local time source (( is that the same as the local ntp server that I've got set up ))Hope some body can help me with the network time protocol part of Date/Time settings.
View 9 Replies
View Related
Oct 20, 2010
In the right upper corner of your screen,you can see if you have a network connection or not.Most of the time I do not have one according to Networkmanager (?).So I have to enable my wired connection manually.I already tried a lot to change my settings so I would have a network connection at boot,but it doesn't seem to work....Firefox is in Offline modus when I logon..
View 2 Replies
View Related
Dec 26, 2010
I have a laptop connected to the the net thru an adsl modem, when I switch off the laptop network interface,(thru system-config-network) the light of the laptop network card plugged in the router stays on ( green) where as in my pc, when i do the same thing , the light of my pc network card goes off in the modem
View 5 Replies
View Related
Jul 29, 2011
I am using RHEL6 on a server with 3 interfaces.
eth0 is connecting via a Cisco switch to the outer world and eth1 and eth2 to internal networks.
eth1 and eth2 are working without problems all the time, however I have the following incident with eth0: although it is RUNNING, and after it works for some time (like some hours), it then becomes incapable of sending/receiving traffic. Here are more details, after the interface exits the RUNNING state:
[root@mgt ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr E4:1F:13:6C:87:74
inet addr:9.162.91.26 Bcast:9.162.91.255 Mask:255.255.255.0
inet6 addr: fe80::e61f:13ff:fe6c:8774/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
[Code]....
I am wondering whether there this is because there is not traffic for some time and so the interface goes to idle. Is there any parameter I can tweak in RHEL6 to force the interface to remain RUNNING even in the absence of traffic (although I would be expecting that some 802.1 packets would be periodically flowing from the switch to the interface)?
View 1 Replies
View Related
Feb 10, 2010
I have set 'ONBOOT=no' in interface script '/etc/sysconfig/network-scripts/ifcfg-eth0:2' but my interface bring up at boot time, what is the problem , I have checked it 3 or 4 diff os/machine but the same issue. Can anyone please help me to disable virtual IP's at boot time that network script make it up every boot time.
View 4 Replies
View Related
Mar 14, 2011
Im new to this Cent OS as well as Unix based Operating Systems. Please help me with the below requirement.My Company is a Serach based data collector from different websites like Google, Yahoo & many more..Collecting the data from the search engines is a issue for right now.. As many search engines are blocking us to search and retrive the date after some time.. Taking Google as example : Google Blocks my IP after every 30 mins of retriving.. Application is a Windows based & using Windows 2003 as the Server.. Would like to give a Dynamic IP to the Windows Server via 1st Ethernet Card & enable the 2nd Ethernet for the Internet..Eg : eth 0 = 192.168.1.1eth 1 = x.x.x.x (Public IP)I have check with few of my friends who told me to get Linux or Cent OS installed to do a interface disable after given time & enable a secondary device or virtual interface the next couple of seconds... Like eg : eth 1 = x.x.x.1 eth 2 = x.x.x.2 eth 3 = x.x.x.3 so on.. Would like the eth 1 to be down after 60 mins & eth 2 o be up & again after 60 mins of up time eth 2 down & eth 3 up.
View 6 Replies
View Related
Aug 23, 2010
I have installed 11.3. Now for DSL I use PPP over Ethernet. I have configured DSL via YAST and it works fine. The connection is set at boot.
Now I want DSL to connect manually not at boot time. I did changes in the YAST/DSL to start Manual and rebooted. Once rebooted how do I connect?? Like any button/applet ??
View 1 Replies
View Related
Jan 8, 2011
once upon a time i manually entered my ISP's DNS servers in /etc/resolv.conf Now i have changed ISP, my old DNS setting are still present even though i have edited my resolv.conf file to my new ISP's DNS servers. Internet still works fine, i just want to use my new ISP's DNS as my old ISP will be closing its doors very soon. Am i doing something wrong, or better put.forgot to edit another file..? I did do this a while ago, so i apologise in advance for my incompetence. I'm stilling running 11.1 / Router has DHCP configured. my resolv.conf file is below
Code:
cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
[Code]...
View 9 Replies
View Related
Aug 28, 2010
I'm trying to join a wireles lab that I've setup with WEP encryption, but I'm unable to join. (I've tried on two different distros: ubuntu, and backtrack) same result.
here are the commands:
Code:
ifconfig wlan0 down
iwconfig wlan0 mode managed
iwconfig wlan0 essid MYNET
iwconfig wlan0 key XXXXXXXX
iwconfig wlan0 channel 3
dhclient wlan0
tries to contact dhcp but none responde to request, and when I do iwconfig, it shows as not associated
View 5 Replies
View Related
Mar 12, 2009
Does anyone havea good tutorial on Fedora's network scripts, how to edit them, in what order they are called, etc. What I want to do seems simple, but something in the bootup keeps changing it. Right now, I have an image of Fedora Core 7 created in a server with 2 Ethernet cards. I need to specify static IP addresses for each card. Thats simple, and I did that. Now, heres the tricky part, I need to be able to clone this image and place it onto other exact duplicates of the hardware, and have all of the settings stay the same.
What happens here, is that eth0 and eth1 are stored somewhere as devices, and upon boot on a different machine, the Fedora will mount new network cards(different MAC addresses) as eth1 and eth2. It then mvoes my ifcfg-eth0/1 to a backup, and creates two brand new network setting's files, which initialize to DHCP. This creates an issue, becuase these machines do not have monitors nor keyboards attached, nor is their a DHCP server, so its a pain when I swap the machine out, to have to go in with a keyboard/mouse/monitor and reconfigure the network settings before I can connect to it over the LAN.
So does anyone have any advice on how to do this? No matter what i tried, booting the image in a new PC caused Fedora to create two new devices and create brand new network settigns for them, both initialized to DHCP. Hell, I wouldn't care if it created brand new devices, if it would initialize them to static IP addresses that I am expecting.
View 1 Replies
View Related
May 29, 2010
My upstream DNS server is a bit slow, so I've installed the dnsmasq cacher locally. I have the service starting on runlevels 2, 3, and 5. But I can tell by Firefox's behavior that dnsmasq does not work upon boot. Firefox lets its own DNS cache expire after 60 seconds. When I do my second Google search five minutes after my first, the second DNS lookup for www.google.com is just as slow as the first.If I manually restart the dnsmasq service, I get the fast name resolutions I expect.
View 2 Replies
View Related
Nov 20, 2010
I'm building a wireless router based on OpenSuse 11.3 I have experience with Debian, but here I'm confused howto manually configure network interfaces. I need my wireless card to work in master mode, so I need to place
[Code]...
View 3 Replies
View Related
Sep 21, 2010
I'm using opensuse 11.3 32bit with LXDE. I have configured an apache tomcat server listening on port 8080. Yast was used to open udp 8080 and tcp 8080 in the firewall by manual entry under the advanced button of 'allowed services' menu.Another system was used to access the tomcat server via a firefox webbrowser. The attempt was unsuccessful. The url used was [URL]. firefox webbrowser keeps showing'connecting ...' until timeout. I'm assuming that inspite of the specified port openings in the firewall, it is somehow ignored. If I were to disable the firewall, then I can access the tomcat server with the firefox webbrowser.
View 2 Replies
View Related