Ubuntu Networking :: 8.04 To Receive An IP Address At Boot?
Mar 4, 2010How do I make Ubuntu 8.04 receive an IP address as the machine is booting up, so I can access the machine through SSH without having to log in on the X Session.
View 2 RepliesHow do I make Ubuntu 8.04 receive an IP address as the machine is booting up, so I can access the machine through SSH without having to log in on the X Session.
View 2 RepliesIm running Ubuntu server 10.04 lts
Im trying to get postfix to receive mail from one address and pipe it to a PHP file for a help desk software called Trellis Desk.
They recommended that I use Cpanel but its not free and my boss is not willing to pay for it. I need a free solution.
I know my way around Linux but Im no professional
I have installed a working DNS server on my home network. I have an unique server, devoted to dns, gateway, storage which runs opensuse 11.0 (I known that it is rather old). Two new clients require DHCP. I have installed, using yast, a very simple DHCP server, according to the following config:
option domain-name "XXX.XXX";
option domain-name-servers 192.168.0.1;
option routers 192.168.0.1;
[code]...
(I have tried to add "ddns-update-style none", and to remove the ntp-servers option, since my server is not a time server, without success). Unfortunately, even if the client (a mac running OSX 10.4) receives a right IP and gateway address, it displays neither dns server address nor default domain name. The same mac, on my office network (not managed by me), receives everything.
On our Home LAN, we have several different SuSE machines running. Now, I have run into a problem which I cannot solve myself. One of the computers (a 11.2) just doesn't receive any IPv6 lease from the main router. The router has radvd running and distributes addresses to the other computers just fine. The network card on the box ist a
[Code]...
I am running Ubuntu 8.04, and I am able to access my machine via SSH, but I only want the log in screen visible on the machine itself, yet still able to work with the SSH. But to do this, I have to log in, get the IP address, log off, then log in via SSH. How do I make the machine receive an IP address during the boot-up!
View 7 Replies View Relatedchange my WLAN0 MAC address in my Kubuntu Natty 64 bit at every boot. I have done quite a bit of searching and found some procedures that appear to have worked back in 9.04 and before days but I have been unable to get anything to work for me in my 11.04 install. I have tried adding a script to if.pre-up.d and also tried adding a bootmisc.sh and either I did them wrong or they are not working. I want to make sure that every time I bring the wireless up in Kubuntu that I have the changed MAC address. I usually keep wireless disabled and turn it on just when I need it.
Background so you don't think I am doing something nefarious... I am going on a cruise soon. The cruise line sells wireless internet subscriptions for the duration of the cruise but they tie it to a MAC address. I am bringing my CDMA android phone that unless I use VOIP will be unable to call at all or at least with very high charges. But I also want to be able to browse the internet with my laptop. I figure it will be easier to spoof my phones MAC with the PC than the other way around. I just need to turn one device off if I am using the other. I need the MAC address to be semi permanent so I don't turn it on by mistake and have forgotten to change the MAC.
I'm trying to create an script so that the mac address get changed at the boot for every interface in the computer (eth0, wlan0, etc...).
I've tried with
Code:
for IFACE in $(ifconfig -a -s | egrep -v "^(lo|Iface)" | cut -f 1 -d" ")
do
macchanger -r $IFACE
done
and with
[Code]....
It would also be nice if there was a little program which would ask you at the boot if you want to change the mac address.
Currently my OS is Ubuntu 9.04 Jaunty Jackalope Desktop OS and my web server is Apache2. I have a public address 60.x.y.z and my pc local address is 10.x.y.z. I have a web app in my Apache2 which currently run in localhost(10.x.y.z).
I would like to enable the web app so that it could be browse from outside. I know there maybe some port forwarding process and some commands involved in order to do that. But I have no idea on the steps to do that.
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'm running Ubuntu 10.10 and I'm having problems trying to assign it a static IP address. No matter what I put in the Preferences->Networking area (identifying the interface as Manual)... it still will query DHCP for an address if I run the dhclient command. I'm using to using ubuntu server where I just set the IP in the interfaces config file.
View 1 Replies View RelatedI am working on implementing a protocol on NS2.34 .I really need help to solve this problem . Actually , I don't now whether the problem is generated by the tcl code or the c++ code when I run the simulation, I get this result :
Code:
num_nodes is set 64
INITIALIZE THE LIST xListHead
34
45
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
code....
Consider the following program:
Code:
#include <stdio.h>
#include <stdint.h>
[code]...
I am running my own Postfix mail server. Some time ago I noticed that most email was rejected because of the server's dynamic IP address. So I got a fixed IP address. However then I noticed that some mails got rejected due to failing the reverse DNS check. So my ISP told me to get a range of IP addresses and they could then create a PTR record for one of those addresses. That is now running but it turns out that the IP address used for the PTR record is a ... dynamic IP address. So Spamhaus PBL rejects my emails again.
View 1 Replies View RelatedIn my job I use some ethernet embedded devices. They take an ip address from dhcp server or auto ip. I only know mac address.How can I obtain ip from mac address? In other words I need a rarp packet generator.
View 6 Replies View RelatedI have a few external IP's assigned to me by my ISP. I have IPcop as my router/firewall. I am wondering how to bind 1 of my external ip's to my internal ip address. So I do not have to port forward, etc. For Example, 77.77.77.77 to 192.168.1.123 and on the server it see's the external IP address.
View 2 Replies View RelatedI have the computer hooked up to a TV via HDMI. The resolution of the booting process is set to 1280x720, and then KDM goes to the correct 1360x768.
Sometimes when I boot, the TV does not receive a signal until the boot stage reaches the KDM. I do not know how to reproduce this exactly.
I dont know for what reason, since 2 days, I started having this message whenever I try to start httpd.I commented "Listen 443", restarted httpd started correctly. I needed to comment "listen 443" in order to be able to start httpdWhat is strange is when I do
Code:
telnet mylinux 443
it responds
[code]...
how to assign a address to my ethernet card all the options available
View 1 Replies View Relatedcan't receive files via bluetooth whatever I do. When sending from mobile the file transfer dialog opens, but error pops up "Cannot connect to OBEX device". "Cannot copy file.. The remote system refused the network connection"I have
Code:
$ sudo dpkg -l |grep blue
ii blueman 1.21-2ubuntu1
[code]....
For the last couple of days, I've been unsuccesfully trying to receive multicast packets on Ubuntu Server 11.04, and seen some strange things along the way. The program i use to test this, is basically http://www.scribd.com/doc/38224328/mcreceive-c.Now the network has been configured to forward me the multicast packets, regardless of the joins. So tcpdump shows me:
Code:
15:16:11.308952 IP 10.164.130.2.61417 > 224.16.17.23.47806: UDP, length 1400
...
[code]....
I use a sitecom wl-345 network usb adapter. But whatever i tried it don't recieve networks in range. When i type airodump-ng ra0 it won't work
View 1 Replies View RelatedI recently moved to Beijing and am having trouble with my apartment's wireless setup. My laptop can connect to any wireless network I find out in Beijing but not our home network. My Roommate has a mac laptop and has no issues connecting to our wireless router. It appears to connect but receive no signal, which is frustrating me to no end. Here is my spec list and the model of wireless router we are using.
[Code]...
I am would like to configure postfix to send and receive email across Ethernet (just for now). I have two machines with postfix installed both using Ubuntu 10.04 directly connected with an ethernet cable. I have successfully configured a machine to send email to gmail, however i have been unsuccessful in having these machines send email back and forth. I have been interested in setting up a little mail server at home and have just been trying some simple projects with postfix to start with. At this moment i am using ip addresses and am not concerned with using a dns server
machine A: has a fixed ip of 10.137.202.1, hostname = mail.me.com,
machine B: has a fixed ip of 10.137.202.20, hostname = mail.ubuntu.com
in the /etc/hosts file I map each hostname to ip address receptively (not sure if a good idea, but at this point I have been trying everything)
So I will execute from Machine B
echo "Here is a message" | mail -s 'Hello' cmd@[10.137.202.1]
I currently get from mail.log timed out while receiving the initial server greeting. I get from mail.err valid hostname or network address required in server description #[10.137.202.1]. Obviously when I run the mail command from cmd user i do not receive anything. I can receive mail from myself if from machine A, I sent an email using the command above. I would just like to send email from machine B and receive it on machine A via direct Ethernet connection. I have been through postfix documentation and have also read the postfix definitive guide and have had no luck.
Here is a recent main.cf as I have tried getting this to work (this is for machine A however, similar for B)
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname .....
I have a dedicated control computer that can only be accessed with web-browser (with its ip-address). My DHCP-server gives a static ip-address to the control computer (base on its mac-address). Somehow and after some time the control computer looses its ip-address (can't ping to it any more) ... and then I have to reset the control computer to get it to pick up the ip-address ... this is not a good solution since the control computer is not nearby. is there a way to force the control computer to renew its ip-address based on its mac-address
View 1 Replies View RelatedMy security software has picked up multiple port scanning detections on my router/network and only the IP addresses are available. Is it possible to find out what the remote mac address is to see if the IP source has been spoofed? I've got a couple of different IP sources which were found scanning my ports.
I don't know if my IP and the remote IP address are on the same network or subnet for that matter which is the reason for my wanting to know what the mac address is to find out if its coming from the same remote machine.
I've got an application that compiles in Windows and Linux and is using UDP multicast to communicate. I'm running it on a Windows machine, a Linux machine and a small board (Gumstix) that is running Linux as well. The Windows and Linux machines have no problems sending/receiving packets with each other. The Gumstix and Linux machines have no problems sending/receiving packets with each other. The Gumstix can also send/receive packets with two instances of the application both running on the Gumstix.
But when running on the Gumstix I can send udp multicast packets to Windows, but cannot receive them. (It works if I do point to point with a known IP port#, but not multicast.) I can run tcpdump on the Gumstix and see the packets, but they are not being received on my socket. Here's what tcpdump (running on the Gumstix) outputs when sending the same packet from different sources. Notice the IP header ID and flags (don't fragment) are different when coming from Windows.
WINDOWS to Gumstix
-7:-45:-2.015784 IP (tos 0x0, ttl 15, id 35331, offset 0, flags [none], proto: UDP (17), length: 444) 172.30.42.3.1165 > 239.255.183.180.47028: UDP, length 416
LINUX to GUMSTIX
-7:-43:-38.451991 IP (tos 0x0, ttl 15, id 0, offset 0, flags [DF], proto: UDP (17), length: 444) 172.30.42.13.32771 > 239.255.183.180.47028: UDP, length 416
GUMSTIX to GUMSTIX
-7:-33:-10.955608 IP (tos 0x0, ttl 15, id 0, offset 0, flags [DF], proto: UDP (17), length: 444) 172.30.42.110.1025 > 239.255.183.180.47028: UDP, length 416
I've tried everything I can think of to get this to work but am not getting anywhere. Also I'm pretty inexperienced when it comes to Linux. Anything I could try to be able to receive udp multicast packets from Windows?
I am using ubuntu 9.04. I have configured Evolution on my laptop, but it is not working.
View 1 Replies View RelatedI am contemplating the use of DHCP options as a way of passing host-specific information to hosts that are booting disklessly from a network server. My intention is to have the DHCP client request certain options, and use the reply to configure the diskless hosts accordingly. The theory and rules behind all of this seem well documented on web sites such as die.net. However, the practical application of the protocol seems to be a lot less clear. What I am looking for is an explanation of what (existing, I hope) tool(s) are used, and how they are applied so that I can grab information from the DHCP server, and use it in userspace scripts or other programs. Specifically, my intention is to use a locally defined option that would give a host-specific directory name or filesystem to use by the diskless host to obtain host-specific applications and configuration data.
So far, all of the DHCP client documentation I've found relates to the usual function of assigning IPs, etc. I've looked at dhclient-script on a Redhat system and can't figure out the relationship between it and the dhclient program. Clearly, the script is invoked somehow by dhclient, but I don't understand where the transfer of data received from the server gets into the script. Does dhclient just create a list of exported environment variables the child script then gets access too? What are the rules for how variables are created and what variables are created?
I have a C program which does.
1. Creates a UDP socket
2. Send the UDP Request packet to the TFTP server.
3. If the TFTP server is not listening in the 69 port, the remote machine send an ICMP ("Port Unreachable") message.
Is there a way to receive a notification from the Linux kernel on receipt of an ICMP packet to the created UDP socket.
Assume this: Machine A sends a packet to machine B, no application in machine B is waiting for the packet, Now: What happens in kernel? What happens to this packet exactly?
View 6 Replies View Related