-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Marc G. Fournier
Sent: Tuesday, October 19, 2004 12:28 PM
To: [EMAIL PROTECTED]
Subject: ifconfig alias: File Exists
Why would I be getting:
# ifconfig fxp0 alias 200.46.204.9
ifconfig
On Tue, 19 Oct 2004, Kevin Glick wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Marc G. Fournier
Sent: Tuesday, October 19, 2004 12:28 PM
To: [EMAIL PROTECTED]
Subject: ifconfig alias: File Exists
Why would I be getting:
# ifconfig fxp0 alias
Hi,
On Tue, 19 Oct 2004, Marc G. Fournier wrote:
Why would I be getting:
# ifconfig fxp0 alias 200.46.204.9
ifconfig: ioctl (SIOCAIFADDR): File exists
when I know for a fact that it hasn't been configured?
you should use a netmask of 255.255.255.255 for ipv4 aliases.
ifconfig fxp0 alias
On Tue, 19 Oct 2004, Christian Kratzer wrote:
Hi,
On Tue, 19 Oct 2004, Marc G. Fournier wrote:
Why would I be getting:
# ifconfig fxp0 alias 200.46.204.9
ifconfig: ioctl (SIOCAIFADDR): File exists
when I know for a fact that it hasn't been configured?
you should use a netmask of 255.255.255.255
Running 4.10-STABLE as of today. I have the following in /etc/rc.conf:
gif_interfaces=gif0
gifconfig_gif0=A.B.C.D W.X.Y.Z
ifconfig_gif0=inet 192.168.101.1 192.168.102.1 netmask 0x
After a boot I see:
# ifconfig gif0
gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
/ifconfig issue
Running 4.10-STABLE as of today. I have the following in /etc/rc.conf:
gif_interfaces=gif0
gifconfig_gif0=A.B.C.D W.X.Y.Z
ifconfig_gif0=inet 192.168.101.1 192.168.102.1 netmask 0x
After a boot I see:
# ifconfig gif0
gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu
Hello,
Occasionally when I run ppp I get this message:
bash-2.05b$ ppp
Working in interactive mode
Using interface: tun0
Warning: Add route failed: 0.0.0.0/0 already exists
ppp ON potato
and ifconfig shows:
bash-2.05b$ ifconfig -a
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
Hello Everyone,
Can anyone give me the ifconfig documentation? or refer me
to a link wherein I can find one?
thank you and best regards to all.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.693 / Virus Database: 454
Aldinson C. Esto wrote:
Hello Everyone,
Can anyone give me the ifconfig documentation? or refer me
to a link wherein I can find one?
If you're on a FreeBSD (or *nix) machine, you there's the ifconfig man page:
% man ifconfig
These man pages are also available on the FreeBSD web site
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 9:33 PM
To: Aldinson C. Esto
Cc: [EMAIL PROTECTED]
Subject: Re: ifconfig documentation
Aldinson C. Esto wrote:
Hello Everyone,
Can anyone give me the ifconfig documentation? or refer me
to a link wherein I can find one?
If you're
Aldinson C. Esto [Tue, Jun 01, 2004 at 09:39:11PM +0800]:
Does the handbook or man page you are referring to have the
documentation for each function of the ifconfig.c's source
code? I really need this for our DHCP server development.
ISC-DHCPD already comes with some framework for writing
Does the handbook or man page you are referring to have the
documentation for each function of the ifconfig.c's source
code? I really need this for our DHCP server development.
No, these are just user manuals. I hardly believe that there exists
developer documentation for that.
For specific
/sh
ifconfig dc0 media 100baseTX
You might want to put stuff like that in /etc/start_if.dc0
It gets executed just before the ip address is set or dhclient
is started.
Yes, this did the trick.
Thanks,
Marco
--
Message will arrive in the mail. Destroy, before the FBI sees
On stardate Sun, 30 May 2004, the wise Warren Block entered:
On Sun, 30 May 2004, Marco Beishuizen wrote:
I used to have two ifconfig lines in my rc.conf:
ifconfig_dc0=DHCP
ifconfig_dc0=media autoselect
The first to enable DHCP and the second to set my networkcard to 100BaseTX
full duplex.
Can
I used to have two ifconfig lines in my rc.conf:
ifconfig_dc0=DHCP
ifconfig_dc0=media autoselect
The first to enable DHCP and the second to set my networkcard to 100BaseTX
full duplex.
Now after an upgrade to 4.10-release this doesn't work anymore. When I put
both lines in rc.conf only
On Sun, 30 May 2004, Marco Beishuizen wrote:
I used to have two ifconfig lines in my rc.conf:
ifconfig_dc0=DHCP
ifconfig_dc0=media autoselect
The first to enable DHCP and the second to set my networkcard to 100BaseTX
full duplex.
Now after an upgrade to 4.10-release this doesn't work
On Sun, May 30, 2004 at 11:34:43PM +0200, Olaf Hoyer wrote:
2) put the media change in a separate shell script, and throw it unter
/usr/local/etc/rc.d, so that it will be executed later on
something like:
cat dc0-speedchange.sh
#!/bin/sh
ifconfig dc0 media 100baseTX
You might want
On Sun, 30 May 2004, Marco Beishuizen wrote:
I used to have two ifconfig lines in my rc.conf:
ifconfig_dc0=DHCP
ifconfig_dc0=media autoselect
The first to enable DHCP and the second to set my networkcard to 100BaseTX
full duplex.
Can rc.conf work that way? rc.conf is just a shell script
2201 127.0.0.1
All this works fine for login from REMOTE to LOCAL, bypassing the gateway.
--
I then want the following to work.
On REMOTE I do, as root:
# ifconfig lo0 alias 127.0.0.2
# ifconfig lo0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
Rob wrote:
To double check, I verified that I can login to myself on REMOTE:
$ ssh REMOTE
Sorry, of course this should have been:
$ ssh 127.0.0.2
to verify login to myself via the IP-alias on REMOTE.
Rob.
___
[EMAIL PROTECTED] mailing list
On Mon, Mar 08, 2004 at 04:50:47PM -0800, Jason Williams wrote:
e.g. something like this works fine here :
# /etc/rc.local :
ifconfig fxp0 alias 192.168.2.222 netmask 0x
That seemed to have done the trick, manually. Im guessing, I could put the
same thing in my rc.conf file
it without having to reboot?
The rc.conf configuration above could be manually done via:
ifconfig fxp0 alias 192.168.2.222 netmask 0xff
Other changes to rc.conf may require you to to run a startup script-- check
/usr/local/etc/rc.d-- or do something else, depending on what the change
ifconfig?
Secondly, I rebooted my machine after testing this out, and it appeared to
hang. When I looked at the console, it was stuck on the 'hostname' part.
I'm currently looking for additional information to see what I did wrong,
but thought i'd ask here to see if someone can point out my
here :
# /etc/rc.local :
ifconfig fxp0 alias 192.168.2.222 netmask 0x
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
e.g. something like this works fine here :
# /etc/rc.local :
ifconfig fxp0 alias 192.168.2.222 netmask 0x
That seemed to have done the trick, manually. Im guessing, I could put the
same thing in my rc.conf file, but with proper syntax:
ifconfig_fxp0_alias0=inet 192.168.2.222 netmask
On a side note, if you set something up in rc.conf, how can you manually
start it without having to reboot?
Well that depends on what it is, but if you want to just go through
everything you can do this:
# shutdown now
This will put you in single-user mode. Hit enter for the default shell,
Well that depends on what it is, but if you want to just go through
everything you can do this:
# shutdown now
This will put you in single-user mode. Hit enter for the default shell, then
just log out (Ctrl-D) and that will fire up init and run through the rc
system again.
What if you are doing
What if you are doing this remotely? :)
Any other way to get around that?
Not unless you're connected to another machine and connected to the target
box through a serial console. In this case you're probably better of making
the change manually. What is it you want to reconfigure?
Looks for me like a stupid question, whereis gifconfig in FreeBSD 5.2
stable.
All of the gifconfig(8) functionality has been rolled into ifconfig(8)
in 5.x
Okay
Is there anywhere an up to date manual for setting up VPN with 5.2 ,
freeBSD.org manual page aboud VPN is outdate now.
I found out
On Thu, 8 Jan 2004, fbsd_user wrote:
Ifconfig dc0 DHCP gives error message 'DHCP bad value'
I can get it to work from within rc.conf, but not from command line.
What an I doing wrong?
on the command line, you should be doing 'dhclient intX' where intX is
your interface.
Regards
What is the syntax of the ifconfig command to enable DHCP?
Ifconfig dc0 DHCP gives error message 'DHCP bad value'
I can get it to work from within rc.conf, but not from command line.
What an I doing wrong?
___
[EMAIL PROTECTED] mailing list
http
On Thursday 08 January 2004 12:43 pm, fbsd_user wrote:
What is the syntax of the ifconfig command to enable DHCP?
Ifconfig dc0 DHCP gives error message 'DHCP bad value'
I can get it to work from within rc.conf, but not from command line.
What an I doing wrong?
Type this:
# killall
, I have ipv6 installed for ipv6-ipv4 tunneling
only) takes precedence. As such, despite all my efforts, and 3-4
re-reads of the ifconfig and route man pages, I was unable to get online
without rebooting.
Is there any other way around this in case this happens another time? I
recall that many
Hi,
When I do:
# ifconfig
I see the following interfaces listed:
tx0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.254.3 netmask 0xff00 broadcast 192.168.254.255
inet6 fe80::2e0:29ff:fe11:ff8a%tx0 prefixlen 64 scopeid 0x1
ether 00:e0:29:11
On Sat, Aug 16, 2003 at 03:58:17PM -0500, Charles Howse wrote:
Hi,
When I do:
# ifconfig
I see the following interfaces listed:
tx0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.254.3 netmask 0xff00 broadcast 192.168.254.255
inet6 fe80::2e0
Can I get rid of some of these guys? How?
You can get rid of the superfluous interfaces by building yourself a
custom kernel with the drivers for those devices commented out. Be
sure and check the man pages (eg sl(4), ppp(4), faith(4)) and in LINT
(4.x) or NOTES (5.x) to verify you
On Sat, Aug 16, 2003 at 05:57:18PM -0500 or thereabouts, Charles Howse wrote:
I'm currently running a custom kernel, with just the cpu specified and
maxusers = 0
I edited a new copy of that, took out quite a bit more that I don't need
- raid, scsi, wi-fi, pcmcia, etc.
I did:
# cd
Look at these comments carefully.
...snip...
#device scbus # SCSI bus (required)
#device da # Direct Access (disks)
...snip...
device umass # Disks/Mass storage -
Requires scbus and da
what did I do wrong ? I cannot run ifconfig from within jail
# ifconfig rl0 inet 10.0.1.112 netmask 255.255.255.0
ifconfig: ioctl (SIOCDIFADDR): permission denied
ipfw seems also not to be working...
# ipfw show
ipfw: socket: Operation not permitted
#
Cheers,
Ilia Chipitsine
On Tue, Jul 22, 2003 at 01:19:12PM +0600, Ilia Chipitsine wrote:
what did I do wrong ? I cannot run ifconfig from within jail
# ifconfig rl0 inet 10.0.1.112 netmask 255.255.255.0
ifconfig: ioctl (SIOCDIFADDR): permission denied
ipfw seems also not to be working...
I believe that's
the first method though, I don't know what to tell you.
Hope this helps.
Han Hwei Woo
http://www.argosy.ca
- Original Message -
From: Grant Peel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 7:52 PM
Subject: ifconfig
Is there any reason ifconfig will re-order
Is there any reason ifconfig will re-order the names of aliases IPs?
Example, in my rc.conf. I have all IPs grouped by network, sorted by IP.
WHen I add them using ifconfig, they wind up in a different order (jumbled).
Everything still works fine, its just screwing my scripts up.
-Grant
Grant W
Hi all.
A number of days back I had asked a question about IPaliasing and ifconfig.
One of the answers I got was correct, but took a while for me to prove it
out.
The question was: If I have multiple IPs from a different network, should I
be using the new netmask, or the book value
.100.110.1
ifconfig_rl0=inet xx.100.110.160 netmask 255.255.255.0 broadcast
xx.100.110.255
# virtual IP ports
ifconfig_rl0_alias0=inet xx.100.110.161 netmask 255.255.255.0 broadcast
xx.100 .110.255
snipmore entries/
And here is the ifconfig output - everything is happy on the main IP - just
no one
Here are the entries in rc.conf for the card (the first two digits are
xx'd for this email):
hostname=not-sharing-that-rightnow
defaultrouter xx.100.110.1
ifconfig_rl0=inet xx.100.110.160 netmask 255.255.255.0 broadcast
xx.100.110.255
# virtual IP ports
ifconfig_rl0_alias0=inet
it in the handbook or
the man pages somewhere.
Good luck.
Martyn Hill
Network Administrator
St James Independent School
London
- Original Message -
From: Steve Warwick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 11:15 AM
Subject: Ifconfig - no aliases?
Hey All
Hi,
I would like to know if this command 'ifconfig fxp0 media 100baseTX mediaopt
full-duplex' remains effective even after reboots.
And, how can I set full-duplex option for a particular interface while it is
initializing at boot time ?
Thanks,
Bikrant Neupane
To Unsubscribe: send mail
I would like to know if this command 'ifconfig fxp0 media 100baseTX mediaopt
full-duplex' remains effective even after reboots.
And, how can I set full-duplex option for a particular interface while it is
initializing at boot time ?
No, it won't survive a cold start,
and I doubt it would
Hello all,
We have been colocating at our current site since 2001, and will be
changing colo sites in late January.
When we set up the current site, the colo admin set up ifconfig for us.
He will not be available to set up at the new colo site :-)
I have been reading the man
to
route to other networks. Your switch may or may not have its own IP
address, but that's not relevant here.
You shouldn't need to use the network number anywhere
explicitly... ifconfig should be able to work it (and the broadcast
address) out from the netmask and host address you give it, i.e
Dear all
I have question about ifconfig
What is the different when I set network card by
ifconfig
auto-select
and
ifconfig_fxp0=inet netmask media 100baseTX mediaopt
full-duplex
what is the advantage or disadvantage?
I only know the upload speed is different? Why
Thank you very much
configs and poking around I
c.scott found it was because the gif interfaces were cinfigured and not up. A simple
c.scott ifconfig gif0 up fixed this. I have never had to do this before as when I
c.scott have created gif interfaces the device was automatically up, this doesnt
c.scott seem
201 - 252 of 252 matches
Mail list logo