Topic: Партиције

Занима ме како да поделим партиције за FREEBSD 6.0. Значи морам имати / партицију за систем хоћу једну партицију од 15 - 20 GB за музику коју би моунтово у хоме/корисник/музика ако у бсду има директоријум хоме...а с осталог немам појма штада урадим...иначе хард је од 80 Gb..помозите ми како да поделим партиције најбоље и да ли све партиције треба да буду UFS2...

Re: Партиције

Ne moraju sve biti UFS2 ali ne postoji ni jedan jedini razlog zasto ne bi bile. Napravi / najmanjom..ne vise od 300MB..nema razloga da bude veca. Najvaznije ti je da ti /usr bude najveca jer ces tamo instalirati sve i svasta. Gledaj da se ne zeznes pa da ostavis za /tmp malo prostora jer posle neces moci da otvaras arhive sl.:) Ja u sustini pravim 4 particije:

/ - 250Mb
/var - 1Gb
/usr - 10-15Gb
/home - sve ostalo.:)

Kao sto vidis nema /tmp vec se koristi /var/tmp iz bezbednostnih razloga.:)


Those who do not understand Unix are condemned to reinvent it, poorly.

Re: Партиције

konkretno:
http://www.freebsd.org/doc/en_US.ISO885 … ml#AEN1865
uopsteno:
http://www.freebsd.org/doc/en_US.ISO885 … steps.html

procitaj prvo ove linkove, pa navali sa konkretnim pitanjima smile

kada sam prvi put instalirao bsd, vecinu odgovora na pitanja koja su me usput mucila sam nasao upravo u handbook-u. po meni freebsd handbook moze biti uzor kako treba pisati knjige tog tipa...

"Daddy, why do we have to hide from the police?"
"Because we use vi, son, they use emacs."
~Dave Fischer

Re: Партиције

Ок прочито и видео шта ме занима...сад ме занима да ли одма да моунтујем партицију за хоме у /home/anak1n или да моунтујем у /home?
Знам да су ово почетничка питања ал ако се снађем с овим и наместим нет онда ће се сваки проблем лако решити.

[Izmenjeno 29-11-2005  Анакин]

Re: Партиције

Montiras /home a ne /home/anak1n. wink Na kraju, to ce ti FBSD installer sam namestiti tj. ispisati /etc/fstab/:)


Those who do not understand Unix are condemned to reinvent it, poorly.

Re: Партиције

Одлично...све ми је јасно око партиција...мало сам читао онај приручник и изгледа да нема моје бежичне картице...ал то ћемо још да видимо...пробам па шта буде...само да га скине спор сервер у п.м.

Re: Партиције

Сад одо да инсталирам тај чувени бсд...требо сам чекати неки хард да бекапујем неку музику ал кад се човек запита шта ће мени 40 гига музике...пожелите ми срећу cool

Re: Партиције

poterbniji ti je приручник od srece

#include <acid.h>
/server irc.freenode.net /j #bsdsrbija

Re: Партиције

Originalno postavio/la mikla
poterbniji ti je приручник od srece

Uz malo srece, shvatice to dok bude citao prirucnik... smile

[Izmenjeno 1-12-2005  Zeleni_Obad]

sysctrlmtrlttrl -a

Re: Партиције

Nije mi bila potrebna sreca...bilo je potrebno da samo vidi wireless karticu ali ni to nije uradio...jbg ako vec ne dolazi bog zna koliko software-a na diskovima mogli su se bar potruditi da konfigurisanje mreze bude lakse...instaliro pa onda na ubuntu live pa na net pa citaj prirucnik pa prepisuj u svesku sta treba uraditi pa uradi pa onda corak...i onda tri puta duboko udahnem i vratim linux nazad...lepi moj ubuntu jes da ne ide kilo software-a uz njega ali zato net se konfigurise u 3 sec...
Jbg nije jos BSD za mene...
Hvala svima koji su mi pomogli...
P.S. Sa instalacijom nisam imao nikakvih problema...isto kao slack wink

Re: Партиције

Pa ti si tako rano osustao?Pa ja sam imao vecih roblema (uglavnom Windows, malo Linux iskustvo) pa se jos uvek ne predajem. Uostalom kako da nesto naucis o sistemu ako ti sve radi 'iz prve'?
Salim se,izbor je tvoj-pozdrav!

The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD

Re: Партиције

Ako jos nisi odustao nasao sam jedan tekst koji ti mozda moze pomoci;
ONlamp.com
Setting up Wireless Cards on FreeBSD
04/19/2001

FreeBSD supports a few different types of wireless cards. WaveLAN cards use the wi driver. Aironet cards use the an driver. The Raylink cards use the ray driver. The user interfaces are similar. I'll discuss WaveLAN cards in detail below, but this should work for the other cards as well.
Most wireless cards work with one of these drivers. Even if the names "WaveLAN," "Aironet," or "Raylink" don't appear on the card, it's probably supported. Remember how many different cards use the NE2000 Ethernet card, known in FreeBSD as "ed"? Well, the literal NE2000 is just Novell's card; the hundreds of others are "NE2000-compatible."
If you have questions about a particular card, check the freebsd-mobile@freebsd.org mailing list archives. Unless your card is brand-spanking new, it's been discussed there. At length. Many times.
The important thing to remember with making wireless cards work is that everything on all devices connected to the network must match. Ethernet is easy; you install the card, plug in a cat5 cable, check for a link light, configure, and go! Wireless cards replace the cat5 cable and hub with radio waves. You need to jump through some hoops to configure things properly.
If you're running in ad-hoc mode, you just need to set up all the cards in exactly the same way. Install each card normally. Confirm that your kernel recognizes it. If your kernel doesn't include the driver for that card, rebuild your kernel. If it's a PC Card, just use kldload before inserting the card.
The main tool to configure WaveLAN cards is wicontrol(8). If you enter wicontrol without any arguments, it displays the configuration of the wi0 interface. (You can change the interface with the -i command-line option.) Similarly, an cards have ancontrol, and ray cards use (wait for it...) raycontrol.
We'll look at the commands needed for the bare minimum to get your wireless card securely in operation. Errors in any of these commands will prevent your network from working.
First of all, there's the port type. In the previous article we discussed the differences between ad-hoc and infrastructure mode. If you're in ad-hoc mode, the default (3) is correct. If you have an access point, set your port type to 1. I'm using an Apple Airport access point, so I tell the card to search for it with:
wicontrol -p 1
In the case of my home network, infrastructure mode was really my only option. I could have opened the case on my firewall and installed a network card, but I'm afraid of what could happen if I even touch that ancient piece of crud.
Then you have a network name. You can only network with hosts with the same network name, so this needs to be correct. This helps keep neighbors off your LAN, and vice versa. Since Lucent cards attach to the first network they find, such wrong connections can be a perfectly innocent error instead of a blatant attempt to steal your bandwidth. You set the network name as such:
wicontrol -n YourNameHere
You could technically start networking here. WEP (Wired Equivalent Privacy) encryption isn't set up yet, however. Any traffic you send now will be broadcast in clear-text across the neighborhood. You enable encryption with the -e flag:
wicontrol -e 1
You can then set a WEP cryptographic key. This is a hexadecimal shared secret between the various network nodes. Much like a password, if your key is discovered, anyone can access your network. Set the key with:
wicontrol -k 0x1234567890
Only network cards that have the same cryptographic key and network name can talk to each other. Don't use the key in the example; pick your own.
The wicontrol command only displays keys if run as root. They appear empty when run as a regular user.
If all of your network devices are configured identically, you should be able to assign IP addresses normally and ping. If you can't, one of these settings is probably wrong.

One other issue might arise, and that's frequency. All the wireless stations must be on the same frequency to communicate. There are 14 different 802.11b frequencies. If you find that your network shuts down when you're microwaving a burrito, try a different frequency. You can do that with:
wicontrol -f frequencynumber
The default frequency on cards sold in the US is 3.
If you have an access point, you'll need to configure that as well. In addition to allowing you to bridge your wireless and Ethernet networks, an access point can allow you to control which MAC addresses can connect to your network, and can act as a central point for monitoring. I used the Apple Airport base station as an access point, with great success. It speaks SNMP, so if I wanted to get really funky I could monitor throughput and connections. Best of all, the Airport can be configured from your FreeBSD system with the help of the "airport" tool (/usr/ports/net/airport). Many other access points only have Windows-based configuration tools.
I only had one problem with the airport tool; some of the input windows were too small to hold text. This turned out to be a bug in Java's Swing classes; if the application window isn't large enough to hold the fields, the fields shrink like this. Expand the application window, and input boxes will suddenly appear.
From there it's fairly simple. Hit the "discover devices" button. It will scan the network and look for Airports. When it finds one, it'll open a window containing the IP address. Enter the IP address and the SNMP community string ("public" by default), and you can retrieve the Airport's configuration.
Don't try to create an Airport configuration from scratch in the airport tool. The tool's author freely admits that the Airport has certain configuration requirements that the program cannot set. This information can only be retrieved from a running Airport. Retrieve a good configuration before you try to make any changes.
You need to configure your access point in exactly the same way as your network cards. Give it an IP address on your local network, and set the encryption keys, network name, and channel. You don't need to set the network type -- if you have an access point, you are either running in infrastructure mode or doing something really, really weird.
Take a look at the "bridging functions" tab. This is where you control how the Airport integrates with your existing network. To simply add wireless functions to an existing network, select "Act as transparent bridge."
When everything looks correct to you, hit "Update Base Station." This will reconfigure the Airport. If you did everything right, you can walk down the block reading oreillynet.com on your laptop. I plan to mail this article from the park at the end of the street.
Wireless is just a little bit different than regular Ethernet. Once you understand the requirements, however, setting up wireless is much less confusing. It's well worth the effort, though. My only regret about my wireless setup is that it's too cold outside for me to sit on the patio while writing my column. Thanks, Michigan.

The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD