Re: interface alias at start-up

2005-08-27 Thread John Barbieri
FWIW:

That doesnt work for me :(

any other way?

[EMAIL PROTECTED] wrote:

On Sat, 27 Aug 2005 14:26:32 -0700
Carstea Catalin [EMAIL PROTECTED] wrote:

  

how tu setting-up interface alias at start-up



# example /etc/rc.conf part

defaultrouter=192.168.2.1

ifconfig_rl0=inet 192.168.2.222  netmask 255.255.255.0

ifconfig_rl0_alias0=inet 192.168.2.2 netmask 0x
ifconfig_rl0_alias1=inet 192.168.2.3 netmask 0x
ifconfig_rl0_alias2=inet 192.168.2.4 netmask 0x
ifconfig_rl0_alias3=inet 192.168.2.5 netmask 0x
ifconfig_rl0_alias4=inet 192.168.2.6 netmask 0x

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


  



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


Re: interface alias at start-up

2005-08-27 Thread John Barbieri
ifconfig_xl0=inet xxx.xxx.xxx.xxx  netmask 255.255.255.128
ifconfig_xl0_alias=inet 172.16.2.138 netmask 255.255.255.0



yea they are in different networks. i will try the 255.255.255.255 thing
when i get back to work. that seems odd that you have to put a host
netmask on there :/

Glenn Dawson wrote:

 At 02:54 PM 8/27/2005, John Barbieri wrote:

 FWIW:

 That doesnt work for me :(


 One other thing.  If the aliases you're trying to create are on a
 different network, the subnet mask of the first one has to be the
 real mask, and any further aliases in that same network have to use
 a mask of 255.255.255.255.

 Example:

 ifconfig_fxp0=inet 10.0.0.1 netmask 255.255.255.0
 ifconfig_fxp0_alias0=inet 10.0.0.2 netmask 255.255.255.255
 ifconfig_fxp0_alias1=inet 10.1.1.1 netmask 255.255.255.0
 ifconfig_fxp0_alias2=inet 10.1.1.2 netmask 255.255.255.255

 -Glenn


 any other way?

 [EMAIL PROTECTED] wrote:

 On Sat, 27 Aug 2005 14:26:32 -0700
 Carstea Catalin [EMAIL PROTECTED] wrote:
 
 
 
 how tu setting-up interface alias at start-up
 
 
 
 # example /etc/rc.conf part
 
 defaultrouter=192.168.2.1
 
 ifconfig_rl0=inet 192.168.2.222  netmask 255.255.255.0
 
 ifconfig_rl0_alias0=inet 192.168.2.2 netmask 0x
 ifconfig_rl0_alias1=inet 192.168.2.3 netmask 0x
 ifconfig_rl0_alias2=inet 192.168.2.4 netmask 0x
 ifconfig_rl0_alias3=inet 192.168.2.5 netmask 0x
 ifconfig_rl0_alias4=inet 192.168.2.6 netmask 0x
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 
 


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






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


Re: Question

2005-08-14 Thread John Barbieri
Ports collection is your freind :)

/usr/ports/www/firefox

or

/usr/ports/www/linux-firefox


cd to either dir, make install clean  :)

jon freddy wrote:

When I get my new computer and I am going to run
FreeBSD, also, I want to still run the browser
Firefox. But if you go to Firefox's website it also
lists other OS, but not FreeBSD. But I see that a lot
of my friends that run FreeBSD use firefox. Would I
install the Linux package because it is also a Unix System?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  



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


Re: Using Multiple Internet Connections with FreeBSD

2005-07-14 Thread John Barbieri
Thanks for the reply, but this isnt exactly what I was looking for.

This one is used to force packets out to a specific network depending on
the destination IP address and such.


I was looking for something that would allow for both rundunancy and
speed increase, similar to PPP multi-link or connection teaming (which,
from what ive read, can effecticly double bandwidth).

Thanks again

John

Philip Hallstrom wrote:

 To start off, I have a FreeBSD router running Nat and dhcp, it is
 currently the router for my LAN.

 I was wondering if there was a way to aggregate more then one internet
 connection using FreeBSD?

 That is, have 2 or 3 internet connections coming in on seperate NICs,
 and being able to have the box route and nat the packets accordingly to
 the lan, thus giving the experience of more bandwidth. Is it even
 possible?

 Has someone done it before? and if you have, do you have a webpage that
 you followed instructions from?


 I haven't done it, but I've saved the following email/posts that
 talked about this...  I've left them intact so you can see the context...

 good luck!

 From [EMAIL PROTECTED] Wed Dec 24 09:35:16 2003

 Date: Fri,  3 Nov 2000 18:46:34 -0600
 From: Gerd Knops [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: Simon Nielsen [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Two ISP's. Two IP. One default route...

 Simon Nielsen wrote:

 Hello

 I currently have two internet connections though two different ISP's.
 One is a ADSL and another is shared with the rest of my dorm. The
 shared line is rather slow because many people are using it.

 I must have an IP on the shared connection since that's the only
 place where I can be sure to have a non changing IP for my DNS. But
 the ADSL is much faster so I would like to use that as much as
 possible.

 I can give my machine an IP on each connection but I can of course
 only set one default route. The default route is currently set to the
 ADSL. The problem is that when a connection is made to IP on the
 shared connection my computer uses the ADSL IP to respond and that
 does not work.

 Is there a solution to this? I thought about maybe it is possible to
 route differently when a connection is made on the shared connection
 but I can't find out how to do it.

 Yes, it can be done (though I have not found it documented anywhere).
 I really think there should be separate routing tables for each
 interface, but I don't know of any such feature in any Unix.

 However ipfw can be abused for the above task. Assuming:

 - ipfw is set to pass on default
 - your ADSL IP/network is a.a.a.a/aa
 - your shared IP/network is s.s.s.s/ss
 - your ADSL gateway is set as default route
 - your shared gateway is s.s.s.gw

 the following ipfw rules do the trick:

 # Pass anything that should go via normal routes
 # This rule is really just to speed up the bulk
 # of the packets
 add 1000 allow all from a.a.a.a to any
 # Pass anything to local addresses on ADSL network
 add 1010 allow all from any to a.a.a.a/aa
 # Pass anything to local addesses on shared network
 add 1020 allow all from any to s.s.s.s/ss
 # And here the trick: if the source address is the one
 # from the shared network, pass packets to the
 # gateway on the shared network
 add 1030 fwd s.s.s.gw all from s.s.s.s to any

 With the above connections will leave your system on the same route
 they entered it. Great for redundant mail and dns setup!

 If you already use ipfw you need to adapt the above rules accordingly.
 The important part is that packets coming from your host's shared
 address going to the 'outside' (and only those packets) are forwarded
 to the shared networks gateway.

 Gerd


 From [EMAIL PROTECTED] Wed Dec 24 09:35:23 2003

 Date: Sat, 4 Nov 2000 09:34:48 -0600 (CST)
 From: Mike Meyer [EMAIL PROTECTED]
 To: Simon Nielsen [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Two ISP's. Two IP. One default route...
 Resent-Date: Wed, 24 Dec 2003 10:35:16 -0800 (PST)
 Resent-From: Philip Hallstrom [EMAIL PROTECTED]
 Resent-To: Philip Hallstrom [EMAIL PROTECTED]
 Resent-Subject: Re: Two ISP's. Two IP. One default route...

 Simon Nielsen [EMAIL PROTECTED] types:

 I currently have two internet connections though two different ISP's.
 One is a ADSL and another is shared with the rest of my dorm. The shared
 line is rather slow because many people are using it.

 I must have an IP on the shared connection since that's the only place
 where I can be sure to have a non changing IP for my DNS. But the ADSL
 is much faster so I would like to use that as much as possible.


 Question: what are you using the static IP for? I.e. - who connects to
 it, and vice versa?

 I can give my machine an IP on each connection but I can of course only
 set one default route. The default route is currently set to the ADSL.
 The problem is that when a connection is made to IP on the shared
 connection my computer uses the ADSL IP to respond and that does not
 

Using Multiple Internet Connections with FreeBSD

2005-07-13 Thread John Barbieri
Howdy,


To start off, I have a FreeBSD router running Nat and dhcp, it is
currently the router for my LAN.

I was wondering if there was a way to aggregate more then one internet
connection using FreeBSD?


That is, have 2 or 3 internet connections coming in on seperate NICs,
and being able to have the box route and nat the packets accordingly to
the lan, thus giving the experience of more bandwidth. Is it even possible?


Has someone done it before? and if you have, do you have a webpage that
you followed instructions from?

Ive been searching around, but I have not been able to find a straight
answer. I was hoping you guys could help


Thanks in advance

John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAID0 problem array broken

2004-12-20 Thread John Barbieri
I am also having this problem under FreeBSD 5.3. IDE RAID is HPT372 and 
SATA is Silicon Image 3114

dmesg shows:
ad1: 19073MB Maxtor 5T020H2/TAH71DP0 [38752/16/63] at ata0-slave UDMA100
acd0: CDRW HL-DT-ST GCE-8160B/1.02 at ata1-master PIO4
ad4: 190782MB WDC WD2000JD-00HBB0/08.02D08 [387621/16/63] at 
ata2-master SATA150
ad10: 190782MB WDC WD2000JD-00HBB0/08.02D08 [387621/16/63] at 
ata5-master SATA150
ad12: 190782MB WDC WD2000JB-00EVA0/15.05R15 [387621/16/63] at 
ata6-master UDMA100
ar0: ERROR - array broken
ar0: 381564MB ATA RAID0 array [48642/255/63] status: BROKEN subdisks:
disk0 READY on ad12 at ata6-master
disk1 DOWN no device found for this disk

First, the two SATAs are supposed to be a RAID0 array, but FreeBSD does 
not see them that way, so i have not played with any partitioning.

ad12: 190782MB WDC WD2000JB-00EVA0/15.05R15 [387621/16/63] at 
ata6-master UDMA100   Thats one of the drives for the RAID, but the 
second drive is not showing up, what gives? The BIOS for the card can 
see it, but not FreeBSD.

In FreeBSD 4.x, the IDE RAID works fine, but I cant get the SATA Raid to 
work. Its always that way, I can get one work, but not the other. I need 
an OS that can do both  :(


what was the command you useed to disable the DMA? I want to give that a 
shot to.

I see that its sysctl, but what were the flags.
Thanks,
John

Matthias F. Brandstetter wrote:
-- quoting Karsten Fuhrmann --
 

But now my ar0 stripe will not be recognised anymore.
/var/log/messages showed this :
Dec 17 03:24:44 darkstar kernel: ad6: FAILURE - ATA_IDENTIFY timed out
Dec 17 03:24:49 darkstar kernel: ad6: FAILURE - ATA_IDENTIFY timed out
Dec 17 03:24:49 darkstar kernel: ad6: deleted from ar0 disk1
Dec 17 03:24:49 darkstar kernel: ar0: ERROR - array broken
Dec 17 03:24:49 darkstar kernel: ad6: WARNING - removed from
configuration Dec 17 03:24:49 darkstar kernel: ar0: ERROR - array broken
   

I had a very similar problem with a RAID1 on a raid hardware controller. I 
managed to re-build the broken array from within the controller's BIOS 
during bootup.

It seems this error comes from the broken DMA support on 5.3, so I disabled 
DMA for my disks on this server via sysctl.

Hey guys, what's the status of this DMA issue?
Greetings, Matthias
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Silicon Image 3114

2004-12-18 Thread John Barbieri
Hey there.
I want to run a RAID 0 array on a Silicon Image 3114 SATA RAID adapter, 
but cant find drivers. I found some links on how to patch the kernel, 
but they dont tell you how to do that, or what needs to be done to do it.

Does anyone have an idea, or can point me in the direction, on how to 
set this up?? is it relativly easy??

im running FreeBSD 4.11-STABLE, on a Tyan Tiger Motherboard.
Thanks in advanced.
John
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rj-45 connector

2004-11-28 Thread John Barbieri
The sequence is important if your running high speed, like GigE, since 
each pair of wires is wound a bit different for the others.

The sequence is:
white/orange
orange
white/green
blue
white/blue
green
white/brown
brown
This is when holding the connector face down (eg, the clip is facing down)
http://yoda.uvi.edu/InfoTech/rj45.htm

johne edw wrote:
dear sir,
i've 3 computers and  i want to connect  them togather as a workgroup
network via a hub. i know that the both ends of cable must have the same 
sequense of color .please advice me if that the color sequence of wires 
connected to rj-45 connector is important or not?..i mean, in another word, is 
there a special sequense of color ? or any sequense of color will be valid when 
the both ends have the same color sequense ?
i wish that response will come on soonbest regards

-
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question for the list about install BSD4.9 from FTP over CD

2004-05-04 Thread John Barbieri
If I were to install FreeBSD by doing FTP rather than from a disc, will I
get updated sources

 

EG: install 4.9 release, which doesn't support my nic right off, but there
is an update driver that does

 

 

Just wondering cause if that works that would be cool. I guess I could do
CVSup to also get the driver, but after adding it into my kernel config, my
kernel errors out when im trying to compile it.

 

Thanks in advanced

 

John

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question on Linksys EG21032 (a different one)

2004-04-24 Thread John Barbieri
I know I have asked this before, but I just noticed something different

 

I ran CVSup on the box with the Linksys EG1032V2

 

I more'd the if_sk.c in /usr/src/sys/pci, and I noticed that the Linkysys
EG1032 is listed there, as well as D-Link DGE-530T Gigabit Ethernet. From my
understanding, these cards did not work well at first with bsd.

 

 

My question is, if this is listed there, is there a way to load that driver
up? Ive tried rebooting the box and such, but that didn't work. When I do
ifconfig, it comes up as faith0, and /stand/sysinstall says unknown ehternet
adapter

 

 

Any help is appreciated.

 

Thanks

 

John Barbieri

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question about the Linksys EG1032V2

2004-04-14 Thread John Barbieri
Hello there list.

 

I was wondering if anyone has found a driver or knows a way of getting the
Linksys EG1032V2 gigabit Ethernet card to work under FreeBSD 4.9RC-2

 

I bought this card because it said it was supported, but luck be have it, I
got the 2nd version of the card, which changed chipsets.

 

If anyone knows how to get this card to work that would be awesome.

 

Thanks and have a good day.

 

 

John

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question About Gigabit Ethernet Adapters.

2004-04-12 Thread John Barbieri
Hello there.

 

I recently acquired two gigabit Ethernet cards, as well as a switch.

 

The cards are a NetGear GA311 and Linksys 1032v2

 

After reading some docs, I found out the Linksys is the only one that is
supposed to work in FreeBSD 4.9RC2

 

However, even this will not work in 4.9

 

Is there a way I could get some drivers for the card? Or a way to
automatically update the drivers?

 

Please help, I don't want to go to 5.x right now :-(

 

Thanks in advanced.

 

John Barbieri

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]