Log in

No account? Create an account
FreeBSD Community [entries|friends|calendar]
FreeBSD Users Community

[ website | immenseNETWORKS ]
[ userinfo | livejournal userinfo ]
[ calendar | livejournal calendar ]

Вопрос по маршрутизации. [17 Nov 2009|11:42pm]


У роутера FreeBSD есть 3 интерфейса с ip-адресами, - внешние от 2-х разных провайдеров и - внутренний
Шлюз по-умолчанию роутера Через интерфейс с ip локальная подсеть ходит в инет с помощью NAT.
Возникла задача НАТить часть компов из локальной сети через интерфейс Возможно ли это и как? Шлюз у второго провайдера, но default gate у роутера должен быть один и метрика шлюза поможет только при недоступности первого интерфейса. У роутера Cisco такая задача решается с помощью PBR (route-map), где при условии попадания в акцесс-лист пакетам можно назначить интерфейс выхода и (главное!) ip-адрес next hop. Можно ли что-нить подобное реализовать на FreeBSD?

1 comment|post comment

tun tap hairpin (with qemu) [21 Aug 2007|05:44pm]

Dear Lazyweb -

I'm running qemu with -net tap to allow real IP in qemu. I'm following Nakata Maho's how-to, where the tap interface is bridged with the real ethernet device (net.link.ether.bridge_cfg=fxp0,tap0).

My qemu guest can access the network and the network can access it directly, but of course I can't connect to the guest's IP from the host or vice versa. Right now I can, of course use nc or ssh tunnels to a 2nd physically separate IP but that sort of kills the entire performance benefit of what my objective is (to be able to use rdesktop to connect to the guest instead of vnc). I think this is sort of an odd scenario but I'd appreciate any ideas.
post comment

klavaro language [20 Jul 2007|12:03pm]

Did anybody deals with klavaro keyboard learning program?
I'd tried to install it from ports. No options was asked during installation, and no switches found in Makefile.
After staring there is no any language ("Language"pull-down selector), as a result all help files and text of the lessons are in Czech language. No runtine settings was found in the interface. What can I do with it? ;)
post comment

mountd in FreeBSD 5.5-STABLE [03 Mar 2007|09:44pm]

Am I missing something? mountd in FreeBSD 5.5-STABLE seems to be broken. I'd updated system about three weeks ago (to be more correct, system was completelly reinstalled on new hard drive), previuosly system was updated circa mid-november last year. /etc/exports was copied from old system without any changes made.
configs and logsCollapse )

Has anyone a suggession about this?
1 comment|post comment

Sound configuration help [22 Dec 2006|04:54am]
kldload snd_driver is not necessary.
Find your sound card model
Put these into your /boot/loader.conf:


It took me some time and asking to do this.
I used the knoppix live disc to see my sound card model.
post comment

libc.so.5 [10 Dec 2006|01:13pm]

File libc.so.5 is needed for vmware-toolbox to run but is not found. Only /lib/libc.so.6 is found.

What is it? Why don't I have it? Where can I get it?
7 comments|post comment

finding a file libc.so.5 [10 Dec 2006|01:00pm]

How to find a file on a FreeBSD ?

In dos, I type:
  dir /S my*file*mask

and get a location of file.

In BSD, I type:
  ls -R my*file*mask

but it searches only in directories with names corresponding to mask, so that, of course, is not what I need.

UPD: Ok, problem solved.
find / -name "my*file*mask" -print
4 comments|post comment

sound problems [09 Dec 2006|04:49pm]

Can't install sound on FreeBSD 6.1

I do:

kldload snd_driver

I get:

kldload: can't load snd_driver: Operation not permitted

What's wrong?
2 comments|post comment

Sendmail and Xorg problems [09 Dec 2006|02:02pm]

Just heard about FreeBSD and tryed to look at it. Installed version 6.1 under VMWare. It worked OK, I've tryed KDE and it is something to play with. But just after I've enabled network (configured network interface from sysinstall), this tamagochi wants something i don't know what. it halts during boot, pressing Ctrl-C breaks the script /etc/rc.d/sendmail and it goes on booting. Also, XOrg doesn't start. It hangs for a few minutes and then stops with error "no screens found" and a lot of text about it.

I tried to re-install FreeBSD "from zero-point" (this time i've configured network interface during install), and still have problems.

I used DHCP option to configure network adapter. It is connected to VMWare virtual network.

How to solve all these?
5 comments|post comment

New Guy [08 May 2006|02:50pm]

[ mood | accomplished ]


I'm an intermediate user of FreeBSD. I started about a year ago and I know my way around the OS now. I mostly experiment with it and will be using it as my primary OS as of next week. I figure out how to get things to work mostly by myself, or simply reading through the mailing lists. I'm a lurker, don't expect me to post too much.

I dual boot Ubuntu Linux (for ease of use) and FreeBSD (just because it's great).

X -- Jim

12 comments|post comment

[10 Mar 2006|11:41am]

Hi, I'm a novice FreeBSD user, been using it for some time on old hardware, know my way around enough to get common tasks done. Never recompilled the kernel, just used it for surfing the web, etc, with a little administration accomplished with Windows experience and common sense, and parsing the fbsd handbook. At work, I have 3 boxes that I am setting up as tunnels using VTUN to tunnel windows networking (TCP over Ethernet) traffic to multiple sites which are behind routers that block most traffic. These machines have nforce 3 motherboards and I am experiencing the nve0: device timeout issue on fbsd 6.0 stable (AMD64). I have found several sites that have patches, (like this for example, and while I understand the basic concept (patching a driver, and recompiling) and I have basic C/C++ skills, I do not know how to procede here. Any assistance is appreciated. Even if it is RTFM, as long as someone shows me what part of which manual to read.
4 comments|post comment

[26 Feb 2006|11:00pm]

alright so I am new to freebsd, i am semi-familiar with linux however. I am just wondering, could someone give me a walkthough for using ports, i understand the concept because i have used portage in gentoo, but I feel that I am missing the syntax with ports. also I am using fluxbox and need to know how to create symlinks and add things to the flux box menus, any info would help alot. thanks.
2 comments|post comment

My first port [23 Jan 2006|04:30pm]

I've been wanting to try my hand at porting a software to FreeBSD for a while, and ha been planning on porting the JWM window manager, but someone else finally did it in December. So I decided to go with 'htop', which is a process viewer for linux, similar to 'top' but with better features/functionality. I'm almost done with it. It will build and install fine on my laptop as long as I have FreeBSD's Linux Binary Compatibility layer installed and linprocfs mounted under /proc. The default for the linprocfs under FreeBSD is /compat/linux/proc, however. I have asked the developer if he could either write a patch(since I'm no programmer) for FreeBSD to change it to point to /compat/linux/proc or set it as a definable option whe running the configure script, the latter of which would probably be easiest.

I will probably submit my beta port with an explaination of how the linprocfs must be mounted to /proc for it to build/run.
post comment

ndisgen [08 Dec 2005|01:57pm]

I just ran across this little script called 'ndisgen'. It fully automates using NDIS drivers under FreeBSD... not sure how far it goes back.. I'm running 6.0

The old method of:

# cp foo.sys foo.inf /sys/modules/if_ndis
# cd /sys/modules/ndis
# make; make load
# cd /sys/modules/if_ndis
# ndiscvt -i foo.inf -s foo.sys -o ndis_driver_data.h
# make; make load

Haven't done it yet, I have an Atheros card that use normally. When I get home I'll try it with another card I have (RealTek 8180).

P.S. - Hi everyone!
3 comments|post comment

[15 Oct 2005|06:45pm]

Whether it is possible initial texts taken with DVD-disks Linux Debian 3.1 to use for FreeBSD with use of ports? Can there is a version of ports (ports.tar.gz), devoted to versions/specificities with debian? Thanks.
1 comment|post comment

Are anybody alive? [15 Oct 2005|12:42am]

What are you think about FreeBSD 6-CURRENT?
Are anybody finds there critical bags?
post comment

Opensolaris on x86 [17 Sep 2005|08:03pm]

I am thinking of installing Solaris on my pc.

I looked for Solaris oriented communities here on LJ but I was dissapointed and could not find any. I checked the HCL and was shocked to see my pc was fully supported including all my peripherals.

I have a few questions before I install and would like someone with a background with Solaris on X86.

1.) Are USB devices supported? I have an ipod-mini, a Sans 512meg stick, and usb keyboards and optical mice
2.) Is NTFS read supported? I love the NTFS support and I use Windows heavily (I like my games, paint shop pro, and .net software)
3.) Any gotcha's or things I should know that make Unix different from BSD's and Linux distro's during an install?
3 comments|post comment

[17 Aug 2005|07:28pm]
Im using amaroK and Im trying to import my entire iTunes library from Windows. which is all in Apple's AAC format. so I'm trying to install FAAC and FAAD but when I try to I get the error message:

libtool15: compile: unable to infer tagged configuration
libtool15: compile: specify a tag with `--tag'
gmake: *** [getopt.lo] Error 1
*** Error code 2

Stop in /usr/ports/multimedia/mpeg4ip-libmp4v2.
*** Error code 1

Stop in /usr/ports/multimedia/mpeg4ip-libmp4v2.
*** Error code 1

Stop in /usr/ports/audio/faad.
*** Error code 1

Stop in /usr/ports/audio/faad.

what am I supposed to do to fix that?

I read somewhere that it was an issue with libtool, autoconf, and automake

any idea how to fix it
1 comment|post comment

[10 Aug 2005|12:41am]

I'm new to free BSD and Im trying to get all my nessicary programs installed. optomize my system. and such but I seem to be running across a problem. I have googled all I can think of googling and I have found nothing. so I need someone's help

Nautilus 2..HATES me. I can browse my files just fine, but when I go to access the network to take some shared files off the other commputer that I had decided to spare from the wiping of my hard drive. nautilus 2 always crashes. and I am not quite sure how to fix it.

any suggestions?
post comment

Got a problem! [13 Jul 2005|09:42pm]

I'm from Russia and newbie in this community, now I'm working in a company with server on FreeBSD 5.2. I'm not a system administrator, unfortunately, and i've never used FreeBSD.
Though, it's me, whop is responsible for server.
Lately I nopticed that Squid is crashing down every day, a guy told me it's for the size of logs and i've cleaned them. The problem persists.
I thought that, like in Windows, reboot could help.
The server couldn't even boot (neither in normal nor in single-user mode), hanging up after the phrase "Timeclock ...(don't remember for sure)... every 10,000 msec"
I managed to load without ACPI support and when i tried to enter Midnight Commander FreeBSD said "Bad system call (core dumped)".
Then Iwas attacked by the messages "... The redirector helpers are crashing too rapidly"

Could you be so kind as to help me to solve my problem, otherwise my Boss will kill me tomorrow.
2 comments|post comment

[ viewing | most recent entries ]
[ go | earlier ]