Fedora Networking :: Starting DHCP On Command Line?
Sep 25, 2009I need to start DHCP after booting into run level 1.
So i am going to ....
ifconfig eth1 up
what is the command to start DHCP service?
I need to start DHCP after booting into run level 1.
So i am going to ....
ifconfig eth1 up
what is the command to start DHCP service?
How to enable automatic DHCP on Fedora15, in network settings, i chose method Automatic DHCP on IPv4 settings and in proxy settings , i chose method as automatic. However, it is not working.
View 1 Replies View RelatedYesterday i finally got around to installing my graphics card (NVIDIA GeForce 8400M CS) on fedora 12 by using the command yum install kmod-nvidia the terminal then told me that it installed correctly so i rebooted my system. Now when i boot up into fedora, it loads and when the sign in window is about to appear instead my screen shows random colors all over the place. I am hoping someone can tell me how to remove this via the command line prior to actually starting fedora.
View 2 Replies View RelatedI am a redhat admin and also use Ubuntu. Installed opensuse on my home machine to give it a whirl. I can't seem to figure out why i can't open gui application from the command line.
I receive a GTK error when trying to open with sudo. What am i doing wrong?
EDIT: NM solved my own question, had to add DISPLAY and XAUTHORITY to the sudoers file.
I was wondering... if I can "/etc/rc.d/init.d/NetworkManager stop" then, /sbin/service network restart, ifup wlan0. with out using /etc/rc.d/init.d/NetworkManager which other command I can use to get the AP around my place?
View 5 Replies View RelatedAt the Command Line Prompt I am able to start some Applications (such as openoffice.org or evolution) and the command line prompt re-appears after program is launched and I can continue working in that Terminal. However, other Applications, such as Totem or Blackboard will launch from the Terminal but the Prompt does not re-appear. Where Totem is concerned I get a message stating "sha module is deprecated use hashlib module instead". Where Blackboard is concerned the command line does not reappear. I have to use Ctrl + C to get the command line back but this closes the application as well! Or, I have to open a new Terminal. why some applications will start from the command line and others do not? How do you get the prompt back (other than q or Ctrl + c) thanks to all and kindest regards ( I am using Ubuntu 9.04)
View 3 Replies View RelatedI'm studying Information Technology and doing Linux as part of it. One of the questions in my text book is: Describe three different ways to start a command line interpreter when using the Gnome desktop of openSUSE Linux. I can't for the life of me make sense out of it.
View 8 Replies View Relatedi've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies View RelatedI'm new here but have been using different distros for a couple of years. I ran into this problem like a year ago for the first time and I really would like to solve this ( with your help now). I've already used hours trying to figure this out and seeked solutions online. So first things first:
- I want to connect to a wireless access point from CLI (for many different reasons)
- I'm using Fedora 13 with KDE and Gnome some specs:
Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02) Kernel driver in use: iwl3945 Kernel modules: iwl3945
[Code]...
Ive been struggling to configure a wireless interface on Fedora 9I need to configure wlan0 command line only with NO display managerIve tried setting up /etc/sysconfig/network-scripts/ifcfg-wlan0 with the right information, doing dhcpbut no ip is retrieved. Checking the dhcp server logs on the DHCP server - no request is received.The link light on the wireless nic is not on either. iwconfig shows it has an Access point associated and an ESSID but im not getting back any IP.There seems to be very little documenta on how to set up wireless nics command line only on Fedora
View 1 Replies View RelatedI am fairly familiar with Linux but had never ventured into Wlan settings / options / too much. I have compatible card (aetheros) and when running - iwlist wlan0 scanning - I get plenty networks showing up - meaning the card works. When I installed distro which is last night (before I ran update), I had that little bars menu at the top of the screen that showed available networks once clicked upon. Since I like to modify and make my settings better - I removed that little AT&T like bar, and now rebooted after update to find that I can not see available networks unless I use iwliset wlan0 scanning.... .#$*&)@&#(&%# - need I say more.
Two questions - how do you connect to the wireless network via command line? What is that vertical bars GUI tool called so I can find it and run it again? Is there (for the love of god) alternative to system-config-network GUI managment tool for wlan?
I'm tryn' to connect to my wireless network using command line:iwconfig wlan0 essid MY_NETWORK as root.
After this typingiwconfig wlan0
result is:
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
[Code]....
I installed ndiswrapper in order to use ipn2200 WinXp drivers.
I have been trying to get command line email working for cron email reports and such. I have set up stunnel for ssl and this works with thunderbird (set to route through stunnel with no ssl in thunderbird). I am trying to use ssmtp as I don't need all the complexity of sendmail - just trying to use an [URL]..account It complains that my address is not verified. I think the from line is not set up properly but I have been unable to see this in the stunnel logs and ssmtp doesn't seem to have logs. Is there a way to get more logs from stunnel. How do I make sure I am sending the right email and not something like "localhost"?
View 1 Replies View Related I set up Samba using command line terminal, and my network does not work. I have Samba username and keyring passwords all set, then I go to gui system-config-samba, and my samba user profile password is incorrect. In the past, I have used a 10 letter password, however, every time I boot the computer, I have to go back in and re-enter the password.I wonder if samba is truncating the password because it only accepts an 8 character password? I have deleted the user, and added a new username, and it is still doing it.
If I go into the gui and re-enter the password, usually I can get the network back up with my windows machine. All of the parameters are correct, I use the network to transfer files from my Windows to my Fedora drive all of the time when it works.
F10 trying to key in static ip address. Have followed guidelines on turningoff NetworkManager and turning on network. i went to command line and did a couple of chkconfig things and entered ip address, with subnet. when i do ip addr show i see under eth0 inet 192.168.3.11/32 which is 255.255.255.0, i'm pretty sure. i do not see gateway. when i go to system/network get prompted to log into root, network config window opens. icheck eth0 and the subnet mask is 192.168.3.1, the gateway, which is in correctly, in the gateway slot, as well. i still can not ping to from my xp based multihomed router.
View 3 Replies View RelatedThe GUI for network configuration of Fedora is marvellous such that the configuration is almost fool-proof. But how can I make the connection by hand in the command line mode? It goes okay except the very last step. When I disconnect the eth0 interface from the right-hand side of the desktop GUI, I tested how to bring it back by command line but I failed. When disconnected, the ifconfig still shows the eth0 interface, with just the ip address portion changed.
I tried "ifconfig eth0 192.168.1.xx" to give it an ip address but the connection is still down even if the ifconfig shows an ip address for the eth0 interface. Then I tried "/etc/init.d/network restart" and "ifup eth0" and also "route add defaut gw 192.168.1.1" but none of these could accomplish the same work as a single click on the GUI to connect. I am very curious about how to do it in the terminal.
Version 10.04 LTS. Installed desktop version and network worked but I needed a static IP address and the install configures for a DHCP configured address. I tried changing to static address using the System->Preferences->Network Connections application but was unable to get the system to come up with the network up.
So I manually modified the /etc/network/interfaces and the /etc/resolv.conf files. I restart the system but when I do an ifconfig, I don't see a configured IP address on eth0 (only the loopback address). If I run /sbin/ifup eth0 everything then works fine and ifconfig shows the correct address bound to eth0.
My files are as follows:
I have an older laptop on which I have installed Fedora Core 10 (2.6.27.5-117.fc10.i686). I am using a Retail Plus Mini Wireless USB Adapter. I have scanned this forum and someone mentioned that support for this adapter should come "out of the box" for FC10. I have a fair amount of experience with Linux command line configuration but am by no means an expert. I have absolutely no experience, however, with wireless.
NB that via iwconfig I get the output below which is giving information about my (currently for now unencrypted) SSID called "activity_logged". Pardon my ignorance but wouldn't this mean that I have wireless enabled and if so how does one access it through the command line? I would also eventually like to go back to encrypted status and access that via command line.
[Code]...
I have Dell rack server. With the network card of five network ports. But I am just using first one (eth0).
Now the problem:
Its connected the internet and the internet is working fine. I also got update using yum.
When I do ifconfig to check its dynamic IP. It also shows the IP(something like: 192.168.x.x), but if I go to services and try to start DHCPd service its fails. Its not starting at all. And If I go to other computer (Windows 7) and try to ping the dell servers IP, I cannot ping it. So since I cannot ping it from other computer, so no one we can have remote access to the dell server.
I dont understand without starting DHCPd how the dell server is getting the IP address.
So I thought maybe DHCP is corrupted so I removed it using yum and reinstalled it using yum, but no luck so far.
Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.
Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address. When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto vlan100
iface vlan100 inet static
[code]....
why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.
Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.
Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address.
When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto vlan100
[code]....
why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.
I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with dhclient eth0 -s 10.45.48.108 and get a response
openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to 10.45.48.108 port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from 10.45.48.108
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to 10.45.48.108 port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.
The server reports eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
eBox141 dhcpd: DHCPOFFER on 10.45.200.2 to 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks. what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?
Currently I have my eth0 interface getting a DHCP address but at times the DHCP server will not be reachable. Sooo what I would like my server to do is if it cannot find a DHCP server assign a static address to eth0. Then start the DHCP service so it can then dish out some addresses.How can I do this? Surely it is possible
View 2 Replies View RelatedI have two Roboards that need to communicate with one another. I have sucessfully installed Ubuntu 9.04 using the 386 kernel based on instructions found online.I can use the GUI to set up an Ad-Hoc network using one Roboard ("Create New Wireless Network"), call it Manet, and connect to "Manet" using the GUI on the other Roboard and ping/ssh between the boards. However, when I try to create the same wireless network using the command line using:
ifconfig wlan2 down
iwconfig wlan2 key off essid 'Manet' channel 5 ap any
ifconfig wlan2 up
I don't see any entry in iwconfig under "Cell". It keeps giving me "Not Associated"When I try to enter the same information on the other Roboard to try to connect to the network, it doesn't connect and under iwconfig, I don't even see any entry for ESSID. Could somebody please tell me why it works when I use the GUI and not the command line.
For reasons that are not terribly interesting I decided it would be a great idea to remove and re-install the xserver-xorg package. Which proved to be a much larger mistake than I imagined it would be. I purged the package, and then restarted.Naturally I need to have an internet connection to use apt-get to reinstall xserver-xorg, which is where my idea falls apart.I followed the directions in the How To: Manual Network Configuration. However, after I enter the command "sudo dhclient wlan1" I get the line "wmaster0: unknown hardware address type 801" twice prior to the output that the above link shows. Then I just get DHCPDISCOVER messages until I get a "No DHCPOFFERS received. No working leases in persistent database - sleeping."
I'm connecting with WEP to a router that I know works (because I'm using it to type this on my laptop right now) and I know that the wireless adapter(RTL8187) is installed properly because it automatically connected to my network when I had xserver-xorg still installed.I'm running ubuntu 9.04.I've searched for a few hours and I'm no closer to resolving the issue.
I have setup my wireless card via ndiswrapper and I can see that if I perform an iwconfig that the card is wlan0. I have attempted to connect with the router but I can't get any connection.I know the password is: ########## (10 digits long) but for the life of me I can't get it to work via command line.
View 2 Replies View RelatedI'm using a remote dedicated server running ubuntu server edition, and I have no idea what the upload/download speeds are.Is there a reliable method to test these speeds via the command line?
View 2 Replies View RelatedI'm trying to connect to a AP by command line but I can't yet. Using the network manager it's possible but I need the command lines to use in my code programming.
Here it's what I tryed:
Code:
sudo iwconfig wlan0 mode managed channel 6 key restricted s:'12345' essid 'cassiano-PC_AP'
and the tail: sudo tail -f /var/log/syslog
Code:
Aug 13 14:05:55 cassiano-linux kernel: [13476.935795] wlan0: direct probe to AP 00:15:af:84:29:d3 (try 1)
Aug 13 14:05:55 cassiano-linux kernel: [13476.935943] wlan0: deauthenticating from 00:15:af:84:29:d3 by local choice (reason=3)
[Code]...
I'm running a fresh install of Ubuntu 10.4.1 on a Dell Dimension 4700 desktop.When connected to the network (jack in wall, no router), I normally navigate my intranet and the internet.But here's the issue: this particular Dell machine has an IP addresses that is radically different from all other machines connected to the same network.I have tried to edit etc/network/interfaces to force a different IP, but then I lose connectivity. I need this to follow the IP scheme of my intranet so I can set up a server that resolves by hostname. Is there anything wrong with the NIC or is this something that can be resolved via command line?
View 9 Replies View Relatedi cant connect to adsl with pon dsl-provider or any command line. just network manager applet GUI works for me. i follow this guide [URL] and try about 3 hours but without success. i edit /etc/network/interfaces following this thread: [URL] but after any alteration in /etc/network/interfaces and restart network my adsl connections are not work at all and also i lost my GUI applet connections too. then i have to back /etc/network/interfaces to its original content and restart my computer to restore my connections
pon dsl-provider error is:
Quote:
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5