Networking :: [Debian 5.0.4] Determine IP Address In Post-up Phase Script?
Mar 22, 2010Is there any elegant (and preferably uniform) way to determine IP address assigned to a DHCP/PPP interface inside a post-up script/command?
View 9 RepliesIs there any elegant (and preferably uniform) way to determine IP address assigned to a DHCP/PPP interface inside a post-up script/command?
View 9 RepliesIs there any elegant (and preferably uniform) way to determine IP address assigned to a DHCP/PPP interface inside a post-up command?
View 2 Replies View RelatedI'm just an undergrad with duck tape and google searches to hold this place together. Anyways on to my question. Where I work, we have a tape library but no way to configure it, the backup software simply talks to the robot to load and unload tapes. There is a network port on the library and I do have the software, but have been running into problems getting access. I was wondering, is there a way to determine the ip address of this machine by plugging in a cross over cable with a laptop and scanning it? What tools could I use to do this?
View 5 Replies View Relatedi am new to linux . i have the basic knowledge of networking. a week ago i installed debian Lenny version on an old pentium 3.in addition i installed a ddclient configured it according to many tutorials....i searched google a few days but didnt find my case.i ran the folowing command :
ddclient -daemon=0 -debug -verbose -noquiet
output:
debian:~# ddclient -daemon=0 -debug -verbose -noquiet
[code]...
I am tring to get my linksys wireless router to connect to my laptop that i recently installed Fedora 10 on. Well it is actully running of an external HD. Any way when i boot in windows it connects and works fine, but when i try to activate wlan0 it says "Cannot activate network divice wlan0!" "determining IP info failed..."
View 11 Replies View RelatedIn the terminal, what command can I use to find out the current ip address that my ISP allocates to me from their server to my router?
View 2 Replies View RelatedI had had my internet connection working using PPPoE, but after I did some tweaking and configuring on the machine (configuring Samba), I wasn't able to connect to the internet and on the syslog said:Code:Cannot determine ethernet address for proxy ARPI'm using dynamic IP address on my internet account. Is this problem related to Samba server configuration that is running?
View 2 Replies View Relatedi have the basic knowledge of networking. a week ago i installed debian Lenny version on an old pentium 3. in addition i installed a ddclient configured it according to many tutorials.i searched google a few days but didnt find my case. i ran the folowing command :
ddclient -daemon=0 -debug -verbose -noquiet
output:
debian:~# ddclient -daemon=0 -debug -verbose -noquiet
=== opt ====
opt{cache} : <undefined>
[Code]...
i installed ddclient before installing apache. the 10.0.0.10 address is the server address in my d link router behind NAT.
After GRUB 2 comes up (I'm running Ubuntu 10.10) and I choose the OS to boot, there is about a 5 second delay where nothing appears to happen after I make the selection -- no disk activity. It happens consistently every time I boot. Again, this is after I choose the OS to boot, so it shouldn't have anything to do with the standard delay to allow me to choose the appropriate OS.Is there a good way to troubleshoot this and determine what is causing the delay?
View 4 Replies View RelatedI have an HP Laserjet 3.I can use it in normal Windows mode, or as a Postscript printer.it is an older printer, but it is still listed in the driver database. The cups setup tool cannot autodetect this printer. Also, if I select the actual driver for this printer, the cups tool still reports that no printer has been selected. I cannot add that driver for some reason. So, now I have to become an expert in cups configuration. Where is the cups HOWTO? Not in the SuSE howto section. Online? A little support there, but not SuSE specific. Does this local printer need to be a "network" printer? If so, how to I determine what internet address to use?
View 5 Replies View RelatedFirst, (for samba) how do I determine whether my computer "gets IP address information from a dhcp server on the network," and whether "the dhcp server provides info about WINS servers ("NetBIOS name servers") present on the network," and consequently whether a change to my smb.conf file, "so that DHCP-provided WINS settings will automatically be read from /etc/samba/dhcp.conf," and whether the dhcp3-client package must be installed?
View 2 Replies View RelatedI've been plagued with this problem for weeks. It finishes writing the DVD but after it ejects and reloads, it doesn't go through the verification process. Yet I never fail to hand-verify the DVD using 'cmp'.
In this case today I created a multi-directory DVD and had an .iso image made first. It's still sitting there in /tmp (with a backup copied to /opt so I can close out k3b). How would I verify the .iso against what's on the DVD? How does k3b do it? Hopefully this means a command line solution.
BTW what are the command line apps for burning and verifying a DVD? I'm not so hot on graphical apps for this task anymore.
This one has been bugging me for some time now. The network interface (as defined in Debian's /etc/network/interfaces file) fails to obtain an IP address from myuter. However dhclient br0 does.I'm using br0 since I run a XP virtual machine.network/interface changes are from a Debian howto on setting up the tap interface.As near as I can tell, the /etc/init.d/networking script basically calls /sbin/ifup -a. ifup is a binary.My /etc/network/interfaces file is:
auto lo
iface lo inet loopback
address 127.0.0.1
[code]...
I setup the dnsmasq in debian squeeze as dhcp and dns server, for the debian host i assigned the static ip addresses, and configured the xp for dhcp. Windows XP network can't acquire DHCP address from debian squeeze with this error:
Quote:
error unable to contact your dhcp server Request has timed out.
this is the tcpdump output in debian for the xp network:
Quote:
15:12:10.631635 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:07:e9:a8:ea:93 (oui Unknown), length 300
15:13:16.611793 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:07:e9:a8:ea:93 (oui Unknown), length 300
15:13:16.611793 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:07:e9:a8:ea:93 (oui Unknown), length 300
15:12:42.631730 ARP, Request who-has 169.254.202.161 tell 169.254.202.161, length 4615:12:44.613568 ARP, Request who-has
[code]....
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.
I 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]...
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 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 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 RelatedIs it possible to see what are build-in, in a package?
In example, freeradius lacks det TLS support, or exactly it lacks the EAP/PEAP support, which is requring TLS.
aptitude show freeradius gives this, and there are some required ssl packages, but is this the way to do it?code...
I have created a custom debian netinst USB stick. It has the default UK repositories in the sources list, but people in the US also need to use the stick from time-to-time.
Would it be a bad idea to mix US and UK repositories in the sources.list? Would Debian be clever enough to pick up the best repo depending on where the user is using the OS from? Or would I need to be a bit clever and create some sort of script to deal with this. (I am avoiding non-free/experimental software).
I am using apache2 with subversion and trying to get post commit script to run an svn update command. All svn commands seem to work fine manually
Everything used to work fine but then the server ip changed and I can no longer access it with the web name and have to use the ip directly
I am using tortoise svn with vista on my work machine
Here is the script
#!/bin/sh
export LC_CTYPE=en_US.UTF-8
/usr/bin/svn update /home/common/webroot/bob
Here is the result.
Command: Commit
Modified: C:UsersMattDesktopcheckout - bobindex.php
Sending content: C:UsersMattDesktopcheckout - bobindex.php
Completed: At revision: 63
Error: post-commit hook failed (exit code 1) with output:
code....
I think what i need to do is update the certifcate for the apache2, but I'm not sure how to do this, where to put it, and then which of the thousand apache config lines needs to be changed
In 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 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 RelatedI'm on stretch and have faced system crashes multiple times during the boot, when my system was hibernating.
How may I get to the cause of this issue and how could I correctly report it?
I am trying to find out, if an application is chrooted jail or not. I have tried to do as suggested here, but something is wrong I believe. [URL]
pidof apache2
24714 24404 24366 24365 24364 24363 24362 4923
ls -ld /proc/24714/root
lrwxrwxrwx 1 root root 0 May 31 19:05 /proc/24714/root -> /
So far so good. Now we try with postfix, ups, nothing to show ? pidof postfix Lets try with the postfix master process instead. pidof master 2623
ls -ld /proc/2623/root
lrwxrwxrwx 1 root root 0 May 31 19:07 /proc/2623/root -> /
It shows it as not being chrooted jail, which I do not understand, since I KNOW that postfix runs chrooted jail.
I've tried to compile certain things and after seeing dependency hell, I just aborted and would like to make sure that I have removed all non-Squeeze programs. Is there a terminal program that checks if every program that I have belongs to the Squeeze repository?
View 6 Replies View Related