Hej
Tänkte installera m0n0wall på min linuxburk och köra med den som brandvägg/router.
Problemmet nu är att jag inte vet hur jag ska lyckas installera det, vill köra med ide-versionen, dvs installerar det på hddn.
För närvarande kör jag med Smoothwall och den har delat upp hddn såhär:
/dev/harddisk4 29G /
/dev/harddisk1 7.6M /boot
/dev/harddisk3 7.3G /var/log
Mitt första försök gick inte alls bra. :/ Är inte alls insatt i *nixvärlden men försöker iaf lära mig. :)
För att installera på en pc och köra allt via en hdd ska man göra följande:
+ download the raw CF/IDE image (see below)
+ write the image to a CF card (> 5 MB) or an IDE hard disk, either with dd under FreeBSD or under Windows with my tool, physdiskwrite 0.4
--+ FreeBSD:
gzcat generic-pc-pbxrxx.img | dd of=/dev/rad[n] bs=16k
where n = the ad device number of your CF card (check dmesg)--+ Linux:
gunzip -c generic-pc-pbxrxx.img | dd of=/dev/hdX bs=16k
where X = the IDE device name of your CF card (check with hdparm -i /dev/hdX) - some adapters, particularly USB, may show up under SCSI emulation as /dev/sdX--+ Windows:
(use the -u flag if the target disk is > 800 MB - make very sure you've selected the right disk!!)
physdiskwrite [-u] generic-pc-pbxrxx.img
(you must use v0.3 or later!)+ put the CF card/HD into the target PC
+ plug the PC into the network (LAN/WAN/...)
+ power it up
+ assign functions (LAN/WAN/OPT) to your interfaces (hint: use the MAC addresses to tell you which card is which one)
+ change the LAN IP address, or use the default (192.168.1.1; m0n0wall acts as a DHCP server by default)
+ access the webGUI (user: 'admin', default password: 'mono')
+ make the necessary changes to the default configuration
Jag har laddat ned generic-pc-pb19r536.img och physdiskwrite 0.4 (om det behövs). Eftersom jag redan kör en linuxkärna på burken trodde jag att det skulle gå med att först flytta över img filen med WinSCP och lägga den i / och sedan köra kommandot ovan. Men det funkar inte så jag antar att det är fel. Någon som vet hur jag ska lösa detta? :)