|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
need some basic help on ifconfig
dear all,
For some reason my machine at work has changed its IP address (I am guessing a DHCP lease?). I can not access it. After reading man ifconfig I had a colleague try #ifconfig rl0 inet 192.168.168.2 netmask 255.255.255.0 that did not work, he got a syntax error. I am using 7.0 release. Can any one please tell me how to manually set the IP address of my machine as I have no other machine to try the command on, I really need to get access. many thanks in advance |
|
|||
There are some possibilities:
We honestly can't diagnose problems like this... have you ever played that game where people pass the phrase? eventually it becomes scrambled/unintelligible. Instead of changing the IP address of the interface, why don't you ask your colleague to determine the *new* IP assigned by DHCP. (If it's a server, it shouldn't be dynamic...). Now, I assume you're on the same LAN as this system.. why can't you physically go check the state of the machine? or are you attempting to access a machine over the internet via a private IP? Last edited by BSDfan666; 29th July 2008 at 02:15 PM. |
|
|||
Thanks,
what I had originally done is: #dhclient rl0 (because I know that is the interface) my firewall/dhcp gave me 192.168.168.2 (that is my LAN). I am not on the same network (or even the same country), so yes I am accessing via internet. Now I asked him to #ifconfig that returns 192.168.168.3 my firewall is set to allow traffic to 192.168.168.2 and now asking my colleague to configure my firewall would be well..... /etc/resolv.conf already has the nameserver set. I called my colleague and unfortunately is out until tomorrow. So I will post the syntax error tomorrow. As my colleague a windows user I sent the command he had to enter via email so there would be no confusion. thanks again to all for the help!!! Last edited by daemon-dd; 29th July 2008 at 03:24 PM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Basic networking fail. | diw | OpenBSD General | 13 | 31st March 2009 09:29 AM |
Basic Perl arrays question | stukov | Programming | 12 | 18th November 2008 08:44 PM |
Basic sshd hardening | anomie | Guides | 12 | 12th September 2008 03:39 AM |
FreeBSD's Ifconfig for WEP | tz24 | FreeBSD General | 15 | 13th June 2008 02:17 AM |
ifconfig problem | ichigo | OpenBSD General | 3 | 20th May 2008 10:59 PM |