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

ADS-B plotting with Kali (and other SDR goodies)

Recently I wanted to try some Software Defined Radio stuff.   
I had a RTL-SDR, FM+DAB, DVB-T USB Stick Set with RTL2832U & R820T. that I got from: http://www.amazon.com/gp/product/B00C37AZXK/ref=oh_details_o04_s00_i00?ie=UTF8&psc=1
But, even though this dongle would break out FM radio stations, and ATC frequencies (like the local Ground Control, tower, and even ATIS), which was cool, it wouldn't break out ADS-B.   
Thus, I bought a Vantech Green Mini RTL2832U R820T DVB-T SDR DAB FM USB DIGITAL TV Tuner Receiver RTL-SDR Project + DAB dongle Tuner MCX Input from Amazon, and tried this.  
This dongle was able to listen to the 1090MHz frequency required for ADS-B (as it goes from 25MHz to 1700MHz).  There were tons of Windows programs out there for breaking out and plotting ADS-B Mode S broadcasts, but not many for Linux.  
For Kali Linux, here's how I got it running and plotting planes around my home:
0) before you start, you should do an apt-get update to ensure you hav…

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 also changed the IP li…

Temper Temperature monitor on a Beaglebone Black

Beaglebone Black as a temperature monitor:

Recently I wanted to monitor the temperature of my shed.  I thought I'd use a small computer such as a Raspberry Pi or a Beaglebone or Odroid.

My Raspberry Pi boxes were all in use, so I grabbed my Beaglebone, which was doing nothing.

I flashed it with the Debian9.32018-03-054GB SDIoTimage, but that seemed like it was running lots of bloatware and the ethernet interface wouldn't take a static IP with /etc/network/interfaces.

So I went with the Debian9.32018-01-284GB SDLXQTi image instead.  I still had the same problem, that lots of junk was running, and I couldn't configure my interface by modifying /etc/network/interfaces

So my first step was to get rid of all the bloatware.  If you're using a Raspberry Pi or something, you can skip this and just go to the second step below

STEP 1--Remove Blotatware from Beaglebone Black:

With some searching, I came across this post:
https://www.linuxquestions.org/questions/linux-newbie-8/inte…