Skip to main content

Fedora Core 5 on Dell 700m

Since I've ported to Ubuntu I don't really need Fedora anymore.   Still, this is how to install FC5 on the Dell 700m:

Install FC5 
   -Install in graphical mode, skip disk check 
   -Install to hda6 and hda5(boot) 
   -Static IP of 192.168.198.4, gw, etc 
   -Office Productivity, Software development, and Web server, customize now 
   -Applications/Sound and Video/xcdroast 
   -Development/Development Tools, GNOME SW Devel, X Software Devel KERNEL-DEVEL 
   -Servers/Network Server/VNC server, Web Server,  MYSQL Server 
   -Base/System Tools/aprwatch, ethereal-gnome, festival, gnome-nettool,nmap frontend 
   -system user uderid  password 
 
---------------------------------------------------------------------------------------------------------------- 
After Install: 
 
Wide Screen Monitor Fix: 
get 855resolution from yum and install it 
   -cp the file xorg.conf to /etc/X11/xorg.conf 
   -install 855resolution-0.4-4.fc5.i386.rpm  
 
---------------------------------------------------------------------------------------------------------------- 
Wireless: 
download Intel Pro wireless firmware version 2.4 from ipw2200.sf.net 
untar it into /lib/firmware 
   -download ipw2200-fw-2.4.tgz 
   -tar -czvf ipw2200-fw-2.4.tgz /lib/firmware/    
   #rmmod ipw2200 
   #modprobe ipw2200  
   -note, you might have to do the above two (rmmod and modprobe) commands upon reboot 
 
 
  ( -for WPA: 
      -edit /etc/wpa_supplicant/wpa_supplicant.conf 
      -edit /etc/sysconfig/wpa_supplicant 
      -restart wpa_supplicant services with network manager) 
---------------------------------------------------------------------------------------------------------------- 
Mysql: 
install MySQL-shared-compat-5.0.21-0.i386.rpm  
#cd /etc/bin/ 
#mysql_install_db 
 
to start: 
#cd /etc/rc.d/init.d 
#./mysqld start 
#mysqlshow (should show you the databases you have) 
 
 
---------------------------------------------------------------------------------------------------------------- 
Kismet: 
unpack kismet-2006-04-R1 in /usr/local/ 
./configure, make, make suidinstall 
edit /usr/local/etc/kismet.conf 
    suiduser=bebo 
    source=ipw2200,eth1,eth1-internal 
    sound=true 
    speech=true 
 
---------------------------------------------------------------------------------------------------------------- 
GPSDrive: 
install pcre-devel-6.3-1.2.1.i386.rpm 
 
unpack gpsdrive-2.09 into /usr/local/ 
edit line 9516 of configure file from  
if $CC -dumpversion|egrep -q "^3.*" to if $CC -dumpversion|egrep -q "^4.*" 
 
#cd /usr/local/gpsdrive-2.09 
#./configure --disable-garmin 
#make 
#make install 
 
---------------------------------------------------------------------------------------------------------------- 
Make mySql database: 
cd /usr/local/gpsdrive/ 
#mysqlshow (to verify that your mysql is running) 
#mysql (to verify that you can actually get a mysql prompt) 
#\q  (to exit from mysql) 
#mysql  
 
some useful mysql commands: 
#mysqlshow (shows databases) 
>use geoinfo; (sets that as the default database to use) 
>show tables;  (shows list of tables in your database) 
>describe waypoints; (describes your database) 
 
>select * from waypoints; (basically shows database entries) 
>select * from waypoints where name regexp "Wireless"; (shows all entries where name=Wireless) 
>select * from waypoints where name like "Wire%";  (don't use = or <>, instead like or not like) 
>select name, type, macaddr where id > 120 and id < 122; (shows names taken since ID 120 was reached.  no date, so use this to sort by day) 
IF you need to change gpsdrive so that it will recognize this database, and change the password to match the gpsdriverc file: 
cd /root/.gpsdrive/ 
#vi gpsdriverc 
change user gast to root 
#mysql (should give you a mysql prompt) 
>USE geoinfo; (changes your database to geoinfo) 
>SET PASSWORD FOR root@localhost=PASSWORD('gast'); 
>\q; 
test this to see if you can actually log into the database with your user/password by: 
#mysql geoinfo -u root -p 
then type in password.   You should get a mysql prompt.  If so, you are golden.  \q to exit. 
---------------------------------------------------------------------------------------------------------------- 
 
VMWare 5.5.2 
Install with #tar -zxvf and run script.pl (must recompile kernel, or load source code first) 
 
Niceities: 
#updatedb (to get the command 'locate' to work) 
remove junk from pannel, and add terminal to the pannel 
turn on sound for events 
-Edit/Preferences/Views/Show hidden and backup files 
 
WiFi Radar: 
Unpack wifi-radar-1.9.6.tar.bz2
#make install or #make install /etc/wifi-radar
change /etc/wifi-radar/wifi-radar.conf to reflect eth1 vice eth2 

snort configuration:
download pcre-6.3, ./configure, make, make install
#download snort-2.6.0, ./configure, make, make install #2.6.0 did NOT work... use 2.4.5 instead!!!
download snort-2.4.5, ./configure, make, make install
download snortrules-pr2.4.tar.gz, extract, move rules to /root/snort-2.6.0/rules/ directory
update /etc/snort.conf:
      -var HOME_NET 192.168.6.0/24 #left as any for start
      -will have to use flow tracking (going to set this up after snort gets working)
      -Commented out two lines in snort.conf to get it to run
      #preprocessor perfmonitor: time 300 file /var/snort/snort.stats pktcnt 10000
      #preprocessor xlink2state: ports {25 691}

to do: 
 
Hibernate: 
I've also got hibernate to work using the suspend2 kernel. You can get almost everything up and running using RPMs. The best source of info ismhensler.de/swsusp/index_en.php. I had to tweak /etc/hibernate/hibernate.conf to run 855resolution on resume. There is an example near the middle of that file and I just added "OnResume 20 /etc/rc.local". I also went ahead and did all of the framebuffer work of installing the fb RPMs and adding "vga=0x317" to my grub.conf file. This all works pretty well except that YOU MUST DISABLE DRI! This sucks because I'm a graphics nut and this was one of the main reasons I switched to FC5. Just comment out the line in /etc/X11/xorg.conf file that loads the dri module. Otherwise you'll be logged out of X when you resume (sporadically), which makes hibernate actually worse than a shutdown IMO. 
 
Okay. The last issue and I've tried freaking everything to fix is suspend to RAM. I don't think this will work on the Dell 700m, but if someone knows how let me know. I tried everything from using the acpi_sleep in grub.conf (with s3_bios, s3_late_bios and s3_mode and all combinations). I tried with and without the suspend2 kernel. I tried tweaking the pm-suspend scripts to try using vbetool dpms on, removing vbetool post, and everything else I could think of. I just cannot get this to work. Plus, it behaves differently each time. Sometimes I see a mouse pointer, sometimes the screen stays off, sometimes I see a few artifacts at the top of the screen. My guess is that FC5 and the Dell 700m just won't work for suspend to RAM

Comments

Popular posts from this blog

HP c6180 Printer and Vista

Hp c6180 driver issues with Vista Home Premium My wife has a Vista Home Premium laptop, and the HP C6180 Photosmart printer keeps disappearing from her available printers.  The only way I've found to fix the problem is to reinstall all the HP software. When I do this, I have to download the (large..507M software from HP, or reinstall the printer (ONLY the printer, not the scanner) with the installation disk, as the drivers are not discovered with a "Windows Update" setting.  My guess is that is because HP doesn't like people to install only the printer driver, which would be easy, but they want folks to install all their crapware as well, so they are withholding the drivers from the on-line Microsoft printer database.  So keep your installation CD!  I've also found that unless I install everything on the CD or in the Full Version download (HP Customer Participation Program, HP Imaging Device functions, HP OCR SW, HP All-In-one SW, HP Photosmart Essential, HP

atftpd vs tftpd-hpa

Recently I was trying to tftp files from a Windows computer to a Kali box.   One version of Windows worked, but another didn't.    After much troubleshooting, here were my symptoms: I could tftp a file from-to any Kali box from-to another Kali box I could NOT tftp files to a specific Windows 7 box from any Kali box I could NOT tftp files to a Chrooted-Ubuntu-Chromebook box from a Kali box After MUCH troubleshooting, going through every setting in atftpd, it seemed like it literally was a client OS problem.  Different clients simply would not download files---unacceptable. Thus, I switched to tftpd-hpa.   To install: apt-get install tftpd-hpa files go to/come from /srv/tftp, but it needs to be a tftp user. Thus, I needed to: chroot -R /srv/tftp Also, if you want to be able to put files ON the tftp server (from a client), you need to modify /etc/default/tftpd-hpa: change "TFTP_OPTIONS="--secure"  to "TFTP_OPTIONS="--secure --create" I al

Security Onion on the Antsle

My Setup of Security Onion on the Antsle: Recently my IDS box, an Intel Atom D2500 Fanless Mini-ITX PC, D2500CCE, died.  Truth be told, I think it came from the factory in a bad state, as I originally thought I had a bad graphics driver, but I then noticed that, after much troubleshooting, it wasn't a driver issue at all.  The box just sometimes wouldn't boot up correctly with video.  It seems heat related, something like not enough thermal paste on the CPU, as after it is powered off for a while it is more likely to boot than when it is warm.  Along with that issue, this box maxed out at 4GB of RAM (only has 2 memory slots, each of which will only take a 2GB card max) and had a single processor, so it was under powered for Security Onion. So, I decided to quit limping along on P.O.S. boxes, and buy a little more heavyweight box for my networked IDS.   Security Onion requires a minimum of 8GB of RAM, and 4 cores per their specs page https://github.com/secur