expect doesn't work correctly with cu

2012-12-29 Thread s m
hello every body

i want to run cu via expect shell script. when i run my script, cu is
running and enter its cli. but when i enter a command (like ~s to set
variable) manually , this command doesn't execute and cu cli is closed and
bash return an error that this command is not valid.
this is my shell script:
#!/usr/local/bin/expect
set timeout 20
spawn cu -l /dev/ttyu0 -s 115200 -e
expect Connected
send ~s
expect ~[]
send hardwareflow\n
expect eof

and this is the output:

[root@zharf ~]# /usr/SAM/shell-scripts/runcu.sh
spawn cu -l /dev/ttyu0 -s 115200 -e
Connected
~[set] *all /  *i enter this command manually
[root@zharf ~]# all
bash: all: command not found
[root@zharf ~]#


i don't know what happened when i run cu via expect that doesn't  work
correctly. please let me know if you have any ideas.

yours,
SAM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


HI

2012-12-29 Thread J chhayani
Hi,

 

I was just reviewing your website
and found it very interesting. I really like your website and services you are
providing. I was wondering if we can work with you and help you with your
business.

 

I would like to offer you our Hire Developer/Programmer
service where you can hire our dedicated developer who will dedicatedly work
for you. We are having three different plans for the same like Full-Time,
Part-Time and Hourly. Currently, many of our clients are getting benefits from
this service. Let me share some of the benefits of our Hire Developer Service:

 


 Guaranteed to
 save you at least 75% of cost against having on site team / resources. 
 Compare it
 with fixed priced quote, it saves your minimum 35% of cost.
 No start up or
 maintenance cost compare to invest in onsite team.
 Project
 control is totally on your hand (*no hidden conditions) as you can
 co-ordinate with developer directly.
 It’s save your
 time to find new developer for your projects. 
 Multiple
 options / hiring models to choose to hire developer.
 You can have
 every 10 minutes snapshots of your dedicated web developer’s machine
 during work.
 High-speed
 communications and live chat conferencing capabilities.


 

I can share references of our
existing clients who are currently getting benefits from our Hire Developer
service. You can know more about this service from below link.

 

Build Your Virtual Team:

http://www.narolainfotech.com/hire-web-developers.html

 

We, Narola are a leading Custom Software Development company based in India. We 
are having a good
experience in Custom Web Design and Development, Custom Mobile Application
Development, E-Commerce Solution, Real Estate Portal Development, etc.

 

Narola Strengths:

- 
6 years of successful operations

- 
54 team members

- 
Technology/Process maturity

- 
500+ satisfied clients

 

Our Skilled Team:

- 
43 Experienced
Programmers/Developers

- 
5 Business Analyst

- 
2 Project Manager

- 
4 Graphic Designers

 

Our Technology Expertise:

PHP, ASP .NET (2.0, 3.5), iOS SDK
(iPhone/iPad), Android SDK and expert in their related CMS and frameworks.

 

Web Service/API Integration Expertise:

Twitter, Facebook, Google Checkout,
PayPal, Skype. And many more

 

Other Technologies Expertise:

jQuery, SOA, Web Services, XML,
AJAX, and many more.

 

You can check our website to know
more about us and our services.

 

http://www.narolainfotech.com/

 

See Narola Team at work: 
http://www.narolainfotech.com/video-narola-infotech.html 

 

Let me know your views and we can
discuss further on this. I would be happy to share our past work details with
you.

 

I look forward to your positive
reply!!!

 

Regards,

j.chhayani 

Note: - Though this is not an automated email, we keep on
sending out these emails to all those people whom we find eligible of using our
services. To unsubscribe from future mails (i.e., to ensure that we do not
contact you again for this matter), please reply NO.
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


plink can not work with serial port

2012-12-29 Thread saeedeh motlagh
hello guys

i have a problem with putty and plink. i want to connect to a modem via
serial port by putty. when i run the below command, every thing is ok and
modem responds me.

putty -v -serial -sercfg 8,1,115200,n,R /dev/ttyu2

but when i run the below command modem doesn't respond to me.

plink -v -serial -sercfg 8,1,115200,n,R /dev/ttyu2

i check it by another com port instead of modem. i mean i connect two
freebsd boxes by com port and run above command but nothing happened either.

i have to work with plink beacuse i have no graphic and when i installed
putty without GTK, just plink is installed and there is no putty command.

please let me know what i'm doing wrong. any comments or hints are really
appreciated.
thanks
*Sa.M*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: HI

2012-12-29 Thread Alejandro Imass
NO

NO

NO

On Sat, Dec 29, 2012 at 6:19 AM, J chhayani j.chhay...@hotmail.com wrote:
 Hi,



 I was just reviewing your website
 and found it very interesting. I really like your website and services you are
 providing. I was wondering if we can work with you and help you with your
 business.


[...]


 Note: - Though this is not an automated email, we keep on
 sending out these emails to all those people whom we find eligible of using 
 our
 services. To unsubscribe from future mails (i.e., to ensure that we do not
 contact you again for this matter), please reply NO.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


static ip address and ifconfig

2012-12-29 Thread Fbsd8

I don't have static ip address so I can not find out for myself.
Lets say I am a company that my ISP has assigned us
25 static ip address.

When I issue the ifconfig command what will it show me?

Just the single primary static ip address or all 25 of them in a list?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Mike Jeays
On Sat, 29 Dec 2012 12:13:32 -0500
Fbsd8 fb...@a1poweruser.com wrote:

 I don't have static ip address so I can not find out for myself.
 Lets say I am a company that my ISP has assigned us
 25 static ip address.
 
 When I issue the ifconfig command what will it show me?
 
 Just the single primary static ip address or all 25 of them in a list?
 
 Thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

It will just show the one currently assigned.

Try it - just bring up an xterm and type 'ifconfig' You don't have to 
be root, and you can't do any harm.


em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 08:00:27:40:ca:a9
inet 10.0.2.15 netmask 0xff00 broadcast 10.0.2.255  # HERE IT IS
media: Ethernet autoselect (1000baseT full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=3RXCSUM,TXCSUM
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
nd6 options=3PERFORMNUD,ACCEPT_RTADV
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Fbsd8

Mike Jeays wrote:

On Sat, 29 Dec 2012 12:13:32 -0500
Fbsd8 fb...@a1poweruser.com wrote:


I don't have static ip address so I can not find out for myself.
Lets say I am a company that my ISP has assigned us
25 static ip address.

When I issue the ifconfig command what will it show me?

Just the single primary static ip address or all 25 of them in a list?

Thanks
___


It will just show the one currently assigned.

Try it - just bring up an xterm and type 'ifconfig' You don't have to 
be root, and you can't do any harm.



em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 08:00:27:40:ca:a9
inet 10.0.2.15 netmask 0xff00 broadcast 10.0.2.255  # HERE IT IS
media: Ethernet autoselect (1000baseT full-duplex)
status: active



Nope 10.0.2.15 is a private lan IP address, its not public routable.
question has to be answered by some body who has multiple static public 
routable ip address assigned by their ISP.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Polytropon
On Sat, 29 Dec 2012 13:05:30 -0500, Fbsd8 wrote:
 Mike Jeays wrote:
  On Sat, 29 Dec 2012 12:13:32 -0500
  Fbsd8 fb...@a1poweruser.com wrote:
  
  I don't have static ip address so I can not find out for myself.
  Lets say I am a company that my ISP has assigned us
  25 static ip address.
 
  When I issue the ifconfig command what will it show me?
 
  Just the single primary static ip address or all 25 of them in a list?
 
  Thanks
  ___
  
  It will just show the one currently assigned.
  
  Try it - just bring up an xterm and type 'ifconfig' You don't have to 
  be root, and you can't do any harm.
  
  
  em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
  options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
  ether 08:00:27:40:ca:a9
  inet 10.0.2.15 netmask 0xff00 broadcast 10.0.2.255  # HERE IT IS
  media: Ethernet autoselect (1000baseT full-duplex)
  status: active
  
 
 Nope 10.0.2.15 is a private lan IP address, its not public routable.
 question has to be answered by some body who has multiple static public 
 routable ip address assigned by their ISP.

The presented example simply shows a typical ifconfig output.
On the inet line, you can see the assigned IP addresses.
As per definition, one interface can be assigned more than
one IP address, and maybe those will show in the ifconfig
output - however, this depends on your actual setup, for
example when you have specific network gear that translates
one or more static IP addresses into local addresses that
are _then_ assigned to individual network interfaces.

However, at my old location I had assigned one static IP
address directly delivered to the NIC, and ifconfig did
show exactly that address.

Simply try ifconfig and show what it prints for YOU.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Fbsd8

Polytropon wrote:

On Sat, 29 Dec 2012 13:05:30 -0500, Fbsd8 wrote:

Mike Jeays wrote:

On Sat, 29 Dec 2012 12:13:32 -0500
Fbsd8 fb...@a1poweruser.com wrote:


I don't have static ip address so I can not find out for myself.
Lets say I am a company that my ISP has assigned us
25 static ip address.

When I issue the ifconfig command what will it show me?

Just the single primary static ip address or all 25 of them in a list?

Thanks
___

It will just show the one currently assigned.

Try it - just bring up an xterm and type 'ifconfig' You don't have to 
be root, and you can't do any harm.



em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 08:00:27:40:ca:a9
inet 10.0.2.15 netmask 0xff00 broadcast 10.0.2.255  # HERE IT IS
media: Ethernet autoselect (1000baseT full-duplex)
status: active


Nope 10.0.2.15 is a private lan IP address, its not public routable.
question has to be answered by some body who has multiple static public 
routable ip address assigned by their ISP.


The presented example simply shows a typical ifconfig output.
On the inet line, you can see the assigned IP addresses.
As per definition, one interface can be assigned more than
one IP address, and maybe those will show in the ifconfig
output - however, this depends on your actual setup, for
example when you have specific network gear that translates
one or more static IP addresses into local addresses that
are _then_ assigned to individual network interfaces.

However, at my old location I had assigned one static IP
address directly delivered to the NIC, and ifconfig did
show exactly that address.

Simply try ifconfig and show what it prints for YOU.



Yes I understand all that, but lets go deeper into difference between 
static and dynamic ip address assigned by the ISP.


For anyone being a professional company who wants permanent presents on 
the internet will pay extra fees for static ip

address because static ip address never change and this is required for
domain name registration. Dynamic ip address are normally assigned by the
ISP for home users having dsl or tv cable internet connections. Dynamic
ip address can change and if used for domain name registration the users
FQDN will no longer point to the correct host.

Now to return to the original question.
Say I am a professional company and my ISP assigned me 25 static ip address.
What will ifconfig show me on the interface facing the public internet?
Just the single primary static ip address or all 25 of them in a list?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Polytropon
On Sat, 29 Dec 2012 13:45:53 -0500, Fbsd8 wrote:
 For anyone being a professional company who wants permanent presents on 
 the internet will pay extra fees for static ip
 address because static ip address never change and this is required for
 domain name registration. Dynamic ip address are normally assigned by the
 ISP for home users having dsl or tv cable internet connections. Dynamic
 ip address can change and if used for domain name registration the users
 FQDN will no longer point to the correct host.

Correct.



 Now to return to the original question.
 Say I am a professional company and my ISP assigned me 25 static ip address.
 What will ifconfig show me on the interface facing the public internet?
 Just the single primary static ip address or all 25 of them in a list?

If all 25 IP addresses are configured to be provided through
the one network connection (either directly by ethernet port
or through some kind of DSL modem), the interface would show
all 25 addresses, like this:

xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=80008VLAN_MTU,LINKSTATE
ether 01:23:45:67:89:ff
inet 123.456.789.1 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.2 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.3 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.4 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.5 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.6 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.7 netmask 0xff00 broadcast 123.456.789.255
[...]
inet 123.456.789.21 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.22 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.23 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.24 netmask 0xff00 broadcast 123.456.789.255
inet 123.456.789.25 netmask 0xff00 broadcast 123.456.789.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active

However, I've not seen that in reality. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Fbsd8

Mikel King wrote:
It will show you each IP address you have successfully bound 

 to the interface. Using static IP addresses; the choice is yours
 on which get bound to the interface and which do not where as
 with DHCP the one chosen by the provider is assigned.


If you bind only one then that is what it will show you. 


Polytropon wrote:

If all 25 IP addresses are configured to be provided through
the one network connection (either directly by ethernet port
or through some kind of DSL modem), the interface would show
all 25 addresses, like this:

xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 options=80008VLAN_MTU,LINKSTATE
 ether 01:23:45:67:89:ff
 inet 123.456.789.1 netmask 0xff00 broadcast 123.456.789.255
 inet 123.456.789.2 netmask 0xff00 broadcast 123.456.789.255
 inet 123.456.789.3 netmask 0xff00 broadcast 123.456.789.255
 inet 123.456.789.4 netmask 0xff00 broadcast 123.456.789.255
 inet 123.456.789.5 netmask 0xff00 broadcast 123.456.789.255
 inet 123.456.789.6 netmask 0xff00 broadcast 123.456.789.255
 snip same line for rest of 25 ip's

 However, I've not seen that in reality.  :-)


OK now were getting closer to real understanding of what is happening.
Your both imply that there is some way to control which static ip 
address the ISP will forward to my NIC facing the public internet.

This is the meat of the my question. How is this done?
My host just has ifconfig_xl0=DHCP in rc.conf and xl0 is the NIC 
connected to public internet connection coming from my ISP.





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Mikel King
It will show you each IP address you have successfully bound to the interface. 
Using static IP addresses; the choice is yours on which get bound to the 
interface and which do not where as with DHCP the one chosen by the provider is 
assigned.

If you bind only one then that is what it will show you. 

Regards,
Mikel King
Senior Editor, BSD News
http://bsdnews.net

 
On Dec 29, 2012, at 1:16 PM, Polytropon free...@edvax.de wrote:

 On Sat, 29 Dec 2012 13:05:30 -0500, Fbsd8 wrote:
 Mike Jeays wrote:
 On Sat, 29 Dec 2012 12:13:32 -0500
 Fbsd8 fb...@a1poweruser.com wrote:
 
 I don't have static ip address so I can not find out for myself.
 Lets say I am a company that my ISP has assigned us
 25 static ip address.
 
 When I issue the ifconfig command what will it show me?
 
 Just the single primary static ip address or all 25 of them in a list?
 
 Thanks
 ___
 
 It will just show the one currently assigned.
 
 Try it - just bring up an xterm and type 'ifconfig' You don't have to 
 be root, and you can't do any harm.
 
 
 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
 ether 08:00:27:40:ca:a9
 inet 10.0.2.15 netmask 0xff00 broadcast 10.0.2.255  # HERE IT IS
 media: Ethernet autoselect (1000baseT full-duplex)
 status: active
 
 
 Nope 10.0.2.15 is a private lan IP address, its not public routable.
 question has to be answered by some body who has multiple static public 
 routable ip address assigned by their ISP.
 
 The presented example simply shows a typical ifconfig output.
 On the inet line, you can see the assigned IP addresses.
 As per definition, one interface can be assigned more than
 one IP address, and maybe those will show in the ifconfig
 output - however, this depends on your actual setup, for
 example when you have specific network gear that translates
 one or more static IP addresses into local addresses that
 are _then_ assigned to individual network interfaces.
 
 However, at my old location I had assigned one static IP
 address directly delivered to the NIC, and ifconfig did
 show exactly that address.
 
 Simply try ifconfig and show what it prints for YOU.
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread dweimer

On 2012-12-29 12:45, Fbsd8 wrote:

Polytropon wrote:

On Sat, 29 Dec 2012 13:05:30 -0500, Fbsd8 wrote:

Mike Jeays wrote:

On Sat, 29 Dec 2012 12:13:32 -0500
Fbsd8 fb...@a1poweruser.com wrote:


I don't have static ip address so I can not find out for myself.
Lets say I am a company that my ISP has assigned us
25 static ip address.

When I issue the ifconfig command what will it show me?

Just the single primary static ip address or all 25 of them in a 
list?


Thanks
___

It will just show the one currently assigned.

Try it - just bring up an xterm and type 'ifconfig' You don't have 
to be root, and you can't do any harm.



em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 
mtu 1500

options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 08:00:27:40:ca:a9
	inet 10.0.2.15 netmask 0xff00 broadcast 10.0.2.255  # HERE IT 
IS

media: Ethernet autoselect (1000baseT full-duplex)
status: active

Nope 10.0.2.15 is a private lan IP address, its not public 
routable.
question has to be answered by some body who has multiple static 
public routable ip address assigned by their ISP.

The presented example simply shows a typical ifconfig output.
On the inet line, you can see the assigned IP addresses.
As per definition, one interface can be assigned more than
one IP address, and maybe those will show in the ifconfig
output - however, this depends on your actual setup, for
example when you have specific network gear that translates
one or more static IP addresses into local addresses that
are _then_ assigned to individual network interfaces.
However, at my old location I had assigned one static IP
address directly delivered to the NIC, and ifconfig did
show exactly that address.
Simply try ifconfig and show what it prints for YOU.



Yes I understand all that, but lets go deeper into difference between
static and dynamic ip address assigned by the ISP.

For anyone being a professional company who wants permanent presents
on the internet will pay extra fees for static ip
address because static ip address never change and this is required 
for
domain name registration. Dynamic ip address are normally assigned by 
the
ISP for home users having dsl or tv cable internet connections. 
Dynamic
ip address can change and if used for domain name registration the 
users

FQDN will no longer point to the correct host.

Now to return to the original question.
Say I am a professional company and my ISP assigned me 25 static ip 
address.
What will ifconfig show me on the interface facing the public 
internet?
Just the single primary static ip address or all 25 of them in a 
list?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


It still all depends on your configuration, it won't look any different 
than a static private IP address shows when doing an ifconfig except it 
will be the public IP.  Generally if you have a static IP you will have 
to set it manually, and it won't get it via DHCP.  But I have worked 
with some DSL connections though that assigned the static IP through a 
DHCP reservation based on your modem/routers MAC address.  However that 
would only work for a single IP.  If you get 25, you can assign those 
with aliases to make a single server answer on the others as well, 
common for servers hosting multiple https web sites.


Here's an example with Aliases, its from a LAN with private range, but 
would look no different except IPs if it was public range addresses.  
This is from my web/email server (the very one this message comes from), 
the secondary IP is for running jails, when testing upgrades.


LAN: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 
9000

options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC

ether 00:07:e9:09:be:4f
inet 192.168.5.1 netmask 0xff00 broadcast 192.168.5.255
inet 192.168.5.21 netmask 0xff00 broadcast 192.168.5.255
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (1000baseT full-duplex)
status: active


Here's an example from a public range, pulled this from my pfSense box, 
which is on a Cable Connection with a block of 5 static IP Addresses.


vr1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 
1500

options=8280bRXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE
ether 00:0d:b9:1c:78:2d
inet 24.240.198.186 netmask 0xfff8 broadcast 24.240.198.191
inet6 fe80::20d:b9ff:fe1c:782d%vr1 prefixlen 64 scopeid 0x2
nd6 options=43PERFORMNUD,ACCEPT_RTADV
media: Ethernet autoselect (100baseTX full-duplex)
status: active

There's just a single IP set, though it does relay connections on other 
IPs, using proxy 

Re: static ip address and ifconfig

2012-12-29 Thread Chris Hill

On Sat, 29 Dec 2012, Fbsd8 wrote:

[ ... ]

My host just has ifconfig_xl0=DHCP in rc.conf and xl0 is the NIC 
connected to public internet connection coming from my ISP.


In that case, you are not using static IPs. If your ISP has assigned you 
- as in Poly's example - 123.456.789.1 through 123.456.789.25, then 
those addresses are for your use to assign as you see fit. You would 
configure this machine's interface for any address in that block. You 
can then configure the same interface for more than one of those, or use 
your extra IPs for other machines (or interfaces). Instead of 
ifconfig_xl0=DHCP in rc.conf, you might have 
ifconfig_xl0=123.456.789.16 255.255.255.128 or some such.


HTH.

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Full disk encryption without root partition

2012-12-29 Thread Bernt Hansson

2012-12-26 22:17, mhca12 skrev:

Are there any plans or is there already support for full
disk encryption without the need for a root partition?


Not exactly what asked for, but here it is

http://forums.freebsd.org/showthread.php?t=2775
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Fbsd8

snip previous
It still all depends on your configuration, it won't look any different 
than a static private IP address shows when doing an ifconfig except it 
will be the public IP.  Generally if you have a static IP you will have 
to set it manually, and it won't get it via DHCP.  But I have worked 
with some DSL connections though that assigned the static IP through a 
DHCP reservation based on your modem/routers MAC address.  However that 
would only work for a single IP.  If you get 25, you can assign those 
with aliases to make a single server answer on the others as well, 
common for servers hosting multiple https web sites.


Here's an example with Aliases, its from a LAN with private range, but 
would look no different except IPs if it was public range addresses.  
This is from my web/email server (the very one this message comes from), 
the secondary IP is for running jails, when testing upgrades.


LAN: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 9000

options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC

ether 00:07:e9:09:be:4f
inet 192.168.5.1 netmask 0xff00 broadcast 192.168.5.255
inet 192.168.5.21 netmask 0xff00 broadcast 192.168.5.255
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (1000baseT full-duplex)
status: active


Here's an example from a public range, pulled this from my pfSense box, 
which is on a Cable Connection with a block of 5 static IP Addresses.


vr1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8280bRXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE
ether 00:0d:b9:1c:78:2d
inet 24.240.198.186 netmask 0xfff8 broadcast 24.240.198.191
inet6 fe80::20d:b9ff:fe1c:782d%vr1 prefixlen 64 scopeid 0x2
nd6 options=43PERFORMNUD,ACCEPT_RTADV
media: Ethernet autoselect (100baseTX full-duplex)
status: active

There's just a single IP set, though it does relay connections on other 
IPs, using proxy arp to do this so there is no need for an alias to be 
defined.




So your saying the ISP forwards any internet traffic for those static ip 
address to the on site modem/router MAC address which my service was 
previsioned to?


The ISP is sending DNS port 53 and DHCP port 67 traffic on each static 
ip address as well?


I can configure the on site modem/router to assign selected static ip 
address to a router's hardware port which is cabled to different PC's?


The PC's would only be seeing traffic for that selected static ip address?

The rc.config statement ifconfig_xl0=DHCP on that PC would function as 
exspected?



Now if I only had a on site modem with a single output port, then
all the static ip address would hit the NIC card it was cabled to?

So on the single FreeBSD system with NIC xl0 being cabled to the single 
port coming from the on site modem I would need ifconfig statements in 
rc.conf to select what static ip address I want to use for DHCP to 
automatically get the ISP's DSN ip address?  Please correct my syntax if 
wrong

ifconfig_xl0=DHCP,24.240.xxx.186

If I wanted to use the remaining static ip address for other PC's on my 
private LAN I would have to have additional ifconfig statements in rc.conf?

ifconfig_xl0=alias,24.240.xxx.187,24.240.xxx.188,24.240.xxx.189
or would I need a single statement for each alias? Please correct my 
syntax if wrong.


I would also have to configure my firewall to redirect those alias 
static ip address to the LAN ip address of the servers I want to target?


For some of the remaining static ip address i have not used yet, I would 
like to use them for jails. Using the jail option to provide the
interface name to bound to which automatically creates an alias for the 
jails ip address at jail start time and also removes it when the jail 
stopped. I can do this by creating the jail using one of the unused 
static ip address?









___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Mikel King
Well generally DHCP and static are mutually exclusive on the same interface. 
Also bear in mind that DHCP is more comprehensive than a simple address 
assignment system. In addition a static reservation is not the same thing as a 
static IP address assignment on an interface. They are similar but different.

A DHCP assignment will bind one address to a MAC as well as configure address 
resolution, routing et cettera… Whereas a static IP assignment must be 
configured manually by you the human and not the ISP. Your ISP can route a 
block of addresses to you via a CPE like a DSL modem or router but you have to 
configure your equipment to consume the traffic passed on by that device. 

For instance my cable provider's modem boots DHCP, as does the router that they 
configure via DHCP net boot so that it may receive the block of static IP 
addresses assigned to my account. The router itself consumes the first usable 
address as delivered by the ISP. I am free to assign the remain 5 addresses to 
any device be-it a firewall or server at my discretion and connect it to the 
LAN side of this router. The following is sort of what these static assignment 
will look like on this server.

xl1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:17:02:d3:84:6f 
inet 75.99.82.91 netmask 0xfff8 broadcast 75.99.82.95
inet 75.99.82.93 netmask 0xfff8 broadcast 75.99.82.95
inet 75.99.82.92 netmask 0xfff8 broadcast 75.99.82.95
media: autoselect (100baseTX full-duplex)
status: active

Regards,
Mikel King
Senior Editor, BSD News
http://bsdnews.net


On Dec 29, 2012, at 4:16 PM, Fbsd8 fb...@a1poweruser.com wrote:

 snip previous
 It still all depends on your configuration, it won't look any different than 
 a static private IP address shows when doing an ifconfig except it will be 
 the public IP.  Generally if you have a static IP you will have to set it 
 manually, and it won't get it via DHCP.  But I have worked with some DSL 
 connections though that assigned the static IP through a DHCP reservation 
 based on your modem/routers MAC address.  However that would only work for a 
 single IP.  If you get 25, you can assign those with aliases to make a 
 single server answer on the others as well, common for servers hosting 
 multiple https web sites.
 Here's an example with Aliases, its from a LAN with private range, but would 
 look no different except IPs if it was public range addresses.  This is from 
 my web/email server (the very one this message comes from), the secondary IP 
 is for running jails, when testing upgrades.
 LAN: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 9000

 options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether 00:07:e9:09:be:4f
inet 192.168.5.1 netmask 0xff00 broadcast 192.168.5.255
inet 192.168.5.21 netmask 0xff00 broadcast 192.168.5.255
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (1000baseT full-duplex)
status: active
 Here's an example from a public range, pulled this from my pfSense box, 
 which is on a Cable Connection with a block of 5 static IP Addresses.
 vr1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8280bRXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE
ether 00:0d:b9:1c:78:2d
inet 24.240.198.186 netmask 0xfff8 broadcast 24.240.198.191
inet6 fe80::20d:b9ff:fe1c:782d%vr1 prefixlen 64 scopeid 0x2
nd6 options=43PERFORMNUD,ACCEPT_RTADV
media: Ethernet autoselect (100baseTX full-duplex)
status: active
 There's just a single IP set, though it does relay connections on other IPs, 
 using proxy arp to do this so there is no need for an alias to be defined.
 
 So your saying the ISP forwards any internet traffic for those static ip 
 address to the on site modem/router MAC address which my service was 
 previsioned to?
 
 The ISP is sending DNS port 53 and DHCP port 67 traffic on each static ip 
 address as well?
 
 I can configure the on site modem/router to assign selected static ip address 
 to a router's hardware port which is cabled to different PC's?
 
 The PC's would only be seeing traffic for that selected static ip address?
 
 The rc.config statement ifconfig_xl0=DHCP on that PC would function as 
 exspected?
 
 
 Now if I only had a on site modem with a single output port, then
 all the static ip address would hit the NIC card it was cabled to?
 
 So on the single FreeBSD system with NIC xl0 being cabled to the single port 
 coming from the on site modem I would need ifconfig statements in rc.conf to 
 select what static ip address I want to use for DHCP to automatically get the 
 ISP's DSN ip address?  Please correct my syntax if wrong
ifconfig_xl0=DHCP,24.240.xxx.186
 
 If I wanted to use the remaining static ip address for other PC's on my 
 private LAN I would have to have additional ifconfig 

[solved] Malformed UTF-8 in x11-toolkits/p5-Gtk2

2012-12-29 Thread Martin Laabs
Hi,

I am currently building the x11-toolkits/p5-Gtk2 port and get the following
errors:

--:--
arsing XS files...
Creating stock items POD...
Malformed UTF-8 character (unexpected end of string) in length at
tools/podifystockitems.pl line 52.
Malformed UTF-8 character (unexpected end of string) in length at
tools/podifystockitems.pl line 52.
Malformed UTF-8 character (unexpected end of string) in length at
tools/podifystockitems.pl line 52.
Malformed UTF-8 character (unexpected end of string) in length at
tools/podifystockitems.pl line 52.
Malformed UTF-8 character (unexpected end of string) in length at
tools/podifystockitems.pl line 52.
Malformed UTF-8 character (unexpected end of string) in length at
tools/podifystockitems.pl line 52.
Malformed UTF-8 character (unexpected non-continuation byte 0x67,
immediately after start byte 0xfc) in printf at tools/podifystockitems.pl
line 68.
Code point 0x is not Unicode, may not be portable at
tools/podifystockitems.pl line 68.
[...]Generating POD...
Loaded 9 extra types from doctypes
Loaded 2 extra types from
/usr/local/lib/perl5/site_perl/5.14.2/mach/Pango/Install/doctypes
Loaded 8 extra types from
/usr/local/lib/perl5/site_perl/5.14.2/mach/Glib/Install/doctypes
Loaded 7 extra types from
/usr/local/lib/perl5/site_perl/5.14.2/mach/Cairo/Install/doctypes
Malformed UTF-8 character (fatal) at
/usr/local/lib/perl5/5.14.2/mach/Data/Dumper.pm line 682.
gmake: *** [build/podindex] Fehler 25
*** Error code 1

Stop in /usr/ports/x11-toolkits/p5-Gtk2.
---:-

The cause is the environmental variable LC_ALL that was set to
de_DE.ISO8859-1 for me. Unsetting it with unset LC_ALL (if you use bash)
resolve the problem.

Best regards,
 Martin Laabs


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Full disk encryption without root partition

2012-12-29 Thread Martin Laabs
Hi,

 Are there any plans or is there already support for full
 disk encryption without the need for a boot partition?

Well - what would be your benefit? OK - you might not create another
partition but I think this is not the problem.
From the point of security you would not get any improvement because some
type of software has to be unencrypted. And this software could be
manipulated to do things like e.g. send the encryption key to attacker.
So from this point of view there is no difference whether the kernel is
unencrypted or any other type of software (that runs before the kernel) is
unencrypted.
There is a solution named secureboot together with TPM but this introduces
some other aspects that are not so very welcome in the open source community.
So from the security point of view it might be a good choice to have a
unencrypted and (hardware) readonly boot partition.

Best regards,
 Martin Laabs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Lowell Gilbert
Fbsd8 fb...@a1poweruser.com writes:

 For anyone being a professional company who wants permanent presents
 on the internet will pay extra fees for static ip
 address because static ip address never change and this is required for
 domain name registration. Dynamic ip address are normally assigned by the
 ISP for home users having dsl or tv cable internet connections. Dynamic
 ip address can change and if used for domain name registration the users
 FQDN will no longer point to the correct host.

In the interests of figuring out the right kind of answer here:

Do you understand the different types of DNS records?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Fbsd8



snip previous
It still all depends on your configuration, it won't look any 
different than a static private IP address shows when doing an 
ifconfig except it will be the public IP.  Generally if you have a 
static IP you will have to set it manually, and it won't get it via 
DHCP.  But I have worked with some DSL connections though that 
assigned the static IP through a DHCP reservation based on your 
modem/routers MAC address.  However that would only work for a single 
IP.  If you get 25, you can assign those with aliases to make a 
single server answer on the others as well, common for servers 
hosting multiple https web sites.
Here's an example with Aliases, its from a LAN with private range, 
but would look no different except IPs if it was public range 
addresses.  This is from my web/email server (the very one this 
message comes from), the secondary IP is for running jails, when 
testing upgrades.

LAN: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 9000
   options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
   ether 00:07:e9:09:be:4f
   inet 192.168.5.1 netmask 0xff00 broadcast 192.168.5.255
   inet 192.168.5.21 netmask 0xff00 broadcast 192.168.5.255
   nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
   media: Ethernet autoselect (1000baseT full-duplex)
   status: active
Here's an example from a public range, pulled this from my pfSense 
box, which is on a Cable Connection with a block of 5 static IP 
Addresses.

vr1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   options=8280bRXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE
   ether 00:0d:b9:1c:78:2d
   inet 24.240.198.186 netmask 0xfff8 broadcast 24.240.198.191
   inet6 fe80::20d:b9ff:fe1c:782d%vr1 prefixlen 64 scopeid 0x2
   nd6 options=43PERFORMNUD,ACCEPT_RTADV
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
There's just a single IP set, though it does relay connections on 
other IPs, using proxy arp to do this so there is no need for an 
alias to be defined.


So your saying the ISP forwards any internet traffic for those static 
ip address to the on site modem/router MAC address which my service 
was previsioned to?


The ISP is sending DNS port 53 and DHCP port 67 traffic on each static 
ip address as well?


I can configure the on site modem/router to assign selected static ip 
address to a router's hardware port which is cabled to different PC's?


The PC's would only be seeing traffic for that selected static ip address?

The rc.config statement ifconfig_xl0=DHCP on that PC would function 
as exspected?



Now if I only had a on site modem with a single output port, then
all the static ip address would hit the NIC card it was cabled to?

So on the single FreeBSD system with NIC xl0 being cabled to the 
single port coming from the on site modem I would need ifconfig 
statements in rc.conf to select what static ip address I want to use 
for DHCP to automatically get the ISP's DSN ip address?  Please 
correct my syntax if wrong

   ifconfig_xl0=DHCP,24.240.xxx.186

If I wanted to use the remaining static ip address for other PC's on 
my private LAN I would have to have additional ifconfig statements in 
rc.conf?

   ifconfig_xl0=alias,24.240.xxx.187,24.240.xxx.188,24.240.xxx.189
or would I need a single statement for each alias? Please correct my 
syntax if wrong.


I would also have to configure my firewall to redirect those alias 
static ip address to the LAN ip address of the servers I want to target?


For some of the remaining static ip address i have not used yet, I 
would like to use them for jails. Using the jail option to provide the
interface name to bound to which automatically creates an alias for 
the jails ip address at jail start time and also removes it when the 
jail stopped. I can do this by creating the jail using one of the 
unused static ip address?




Mikel King wrote:
 Well generally DHCP and static are mutually exclusive on the same
 interface. Also bear in mind that DHCP is more comprehensive than a
 simple address assignment system. In addition a static reservation is
 not the same thing as a static IP address assignment on an interface.
 They are similar but different.

 A DHCP assignment will bind one address to a MAC as well as configure
 address resolution, routing et cettera… Whereas a static IP assignment
 must be configured manually by you the human and not the ISP. Your ISP
 can route a block of addresses to you via a CPE like a DSL modem or
 router but you have to configure your equipment to consume the traffic
 passed on by that device.

 For instance my cable provider's modem boots DHCP, as does the router
 that they configure via DHCP net boot so that it may receive the block
 of static IP addresses assigned to my account. The router itself
 consumes the first usable address as delivered by the ISP. I am free to
 assign the remain 5 addresses to any device be-it a 

Re: Full disk encryption without root partition

2012-12-29 Thread Polytropon
On Sat, 29 Dec 2012 22:43:29 +0100, Martin Laabs wrote:
 So from the security point of view it might be a good choice to have a
 unencrypted and (hardware) readonly boot partition.

To prevent unintended modification by attacker of the
boot process's components, an option would be to have the
system boot from a R/O media (SD card, USB stick or USB
card in stick) and then _remove_ this media when the
system has been booted. Of course this requires physical
presence of some kind of operator who is confirmed to
handle this specific media. The rest of the system on
disk and the data may be encrypted now, and if (physically)
stolen, the disks are useless. I agree that such kind of
security isn't possible everywhere, especially not if
you cannot physically access your server.

To prevent further bad things (like someone steals
this boot stick), manually entering a passphrase in
combination with the keys on the stick could be required.
Of course a strong passphrase would have to be chosen,
and not written on the USB stick. :-)

The options attacker has on a _running_ system with
encrypted components is a completely different topic.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Polytropon
On Sat, 29 Dec 2012 17:52:52 -0500, Fbsd8 wrote:
 Your talking in general terms which does not help me, I need details.
 You said above Whereas a static IP assignment must be configured 
 manually by you the human and not the ISP.
 
 I tried to show this human manual configuration in my above post.
 What are you purposing as human manual configuration?
 I need syntax of commands used in response to my above post.

This basically means you do not actually use DHCP for your
client machines (or better: for _your_ machines, be it
servers, desktop computers or firewalls); instead you have
to configure the components that would be DHCP's task on
a dynamic IP connection.

This is:

1. In /etc/rc.conf you need to configure the NIC(s) of your
   system to the IPs you want them to have:

hostname=foo.example.com
ifconfig_xl0=inet 123.456.789.10  netmask 0xff00
ifconfig_xl1=inet 123.456.789.11  netmask 0xff00
defaultrouter=123.456.777.100

   Maybe your ISP also defines a default router for you.



2. In /etc/resolv.conf, you have to define name servers if
   you need them (or you run your own one). Typically the
   ISP will tell you which NS _he_ offers.

search example.com
nameserver 123.456.700.100



3. You would also add entries to /etc/hosts reflecting your
   host's settings:

123.456.789.10 foo.example.com foo
123.456.789.11 foo.example.com foo


All this implies that those settings are quite static. But for
a static IP that might be fully desired. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Fbsd8

Lowell Gilbert wrote:

Fbsd8 fb...@a1poweruser.com writes:


For anyone being a professional company who wants permanent presents
on the internet will pay extra fees for static ip
address because static ip address never change and this is required for
domain name registration. Dynamic ip address are normally assigned by the
ISP for home users having dsl or tv cable internet connections. Dynamic
ip address can change and if used for domain name registration the users
FQDN will no longer point to the correct host.


In the interests of figuring out the right kind of answer here:

Do you understand the different types of DNS records?



Yes I have basic DNS processing understanding.
But lets not get side tracked by something the question is not asking 
about. Please Focus on the part of the post you cut out which is asking 
about static ip addressees.


Thank you anyway

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Mikel King

On Dec 29, 2012, at 5:52 PM, Fbsd8 fb...@a1poweruser.com wrote:

 ifconfig_xl0=alias,24.240.xxx.187,24.240.xxx.188,24.240.xxx.189


ifconfig_xl0=inet 24.240.198.186 netmask 0xfff8
ifconfig_xl0_alias0=inet 24.240.198.187 netmask 0xfff8
ifconfig_xl0_alias1=inet 24.240.198.188 netmask 0xfff8
ifconfig_xl0_alias2=inet 24.240.198.189 netmask 0xfff8
…
ifconfig_xl0_alias24=inet 24.240.198.210 netmask 0xfff8

You can change the netmask of the aliases to 0x if you are experiencing 
too much broadcast chatter.

Regards,
Mikel King
Senior Editor, BSD News
http://bsdnews.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Full disk encryption without root partition

2012-12-29 Thread RW
On Sat, 29 Dec 2012 22:43:29 +0100
Martin Laabs wrote:

 Hi,
 
  Are there any plans or is there already support for full
  disk encryption without the need for a boot partition?
 
 Well - what would be your benefit? OK - you might not create another
 partition but I think this is not the problem.
 From the point of security you would not get any improvement because
 some
 type of software has to be unencrypted. And this software could be
 manipulated to do things like e.g. send the encryption key to
 attacker. So from this point of view there is no difference whether
 the kernel is unencrypted or any other type of software (that runs
 before the kernel) is unencrypted.

And the advantage of putting the boot partition on a memory stick is
that it's much easier to keep such a device physically secure.

Bootstrapping code on the main hard drive is easier to attack. IIRC
someone demonstrated such an attack against one of the commercial
encryption packages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Lowell Gilbert
Fbsd8 fb...@a1poweruser.com writes:

 Lowell Gilbert wrote:
 Fbsd8 fb...@a1poweruser.com writes:

 For anyone being a professional company who wants permanent presents
 on the internet will pay extra fees for static ip
 address because static ip address never change and this is required for
 domain name registration. Dynamic ip address are normally assigned by the
 ISP for home users having dsl or tv cable internet connections. Dynamic
 ip address can change and if used for domain name registration the users
 FQDN will no longer point to the correct host.

 In the interests of figuring out the right kind of answer here:

 Do you understand the different types of DNS records?


 Yes I have basic DNS processing understanding.
 But lets not get side tracked by something the question is not asking
 about. Please Focus on the part of the post you cut out which is
 asking about static ip addressees.

Okay, good. I'll assume that the DNS issues aren't relevant, then.

The simple answer is:
the IP address(es) shown by 'ifconfig' will be the ones actually bound
to that interface on that machine. 

Without knowing *how* you're binding those addresses, we can't tell you
which of your 25 static addresses are bound on any particular
machine. In most cases, I expect static addresses to be directly
configured on the specific machine in question. Since you control that
machine, and don't know what address(es) are configured, that probably
isn't the case. As a second possibility, the addresses are allocated
statically, but the host is configured via DHCP, from a server that
knows those addresses are statically assigned to that host by hardware
address or some other DHCP option. In this case, there will almost
certainly be exactly one of your 25 static IP addresses bound to this
specific host's network interface.

But, again, the key piece of information is how the addresses are
getting bound. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Robert Bonomi


 Date: Sat, 29 Dec 2012 18:09:59 -0500
 From: Fbsd8 fb...@a1poweruser.com
 Subject: Re: static ip address and ifconfig

 But lets not get side tracked by something the question is not asking 
 about. Please Focus on the part of the post you cut out which is asking 
 about static ip addressees.

The short answer is 'have the company _pay_ someone (who knows what they're
doing) set it up for them'.

To be blunt you lack the required knowlege of essential concepts and routine
network configuration practices to either 'do it yourself' -or- to describe
the _entire_ configuration environment with sufficient precision for anyone
else to give you the 'simple' answer you require.

The answer to your original queston, AS ASKED, is:
   the ifconfig output will depend on how the network admin
   set tbings up, and -nobody- can guarantee what he did.

I'm not trying to be hostile or condescending, but you cannot do advanced
things when you lack the fundamentals.

I can produce an ifconfig output for a single interface, showing 4 different
'public' addressees and 6 'private' ones and *nobody* except the network admin
for that box can tell which were staticly configured and which were issued
via DHCP.  When you figure out 'why not' enlightenment will follow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: static ip address and ifconfig

2012-12-29 Thread Shane Ambler

On 30/12/2012 07:46, Fbsd8 wrote:

The rc.config statement ifconfig_xl0=DHCP on that PC would function as
exspected?


DHCP doesn't actually mean that the address will be dynamic - DHCP can 
give you the same ip address every time it is requested. It simply moves 
the details of configuration from you to your ISP.


You probably want to talk with your ISP about this - I would expect you 
to get one IP assigned to your connection that is expected to be your 
routers IP address and then it is up to you to take care of routing your 
subnet to your internal network. You may assign all address to the one 
machine but only one address will get the traffic to be routed to the 
other addresses.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org