LVM2 snapshot question

2006-05-12 Thread Grant Thomas

My main issue is using snapshots to backup a system implementing LVM2.

I'm using LVM2 on a testing server, using ReiserFS as the filesystems
for the partitions. The system is running 2.6.15-1-k7 as the kernel.

Please correct me if I'm wrong.

I would use the snapshot functionality to create a snapshot of a live
system, and then backup the system using the snapshot instead of the
actual system.

This is because the snapshot only contains the data that has changed
from the point in time that the snapshot happened, and the rest is
just references to the unchanged data on the live filesystem.

A snapshot is NOT a permanent backup solution by itself.

The LVM howto, section 3.8, states that any filesystem that is to have
a snapshot taken of it should be in a consistent state. I do maintain
databases that reside on the testing server, and I am not sure how to
verify that the filesystem is in a consistent state.

Also the howto mentions a vfs patch for the LVM1, and that many
filesystems automatically support it in 2.6.

Does this mean that since my machine is using LVM2 and the 2.6 kernel
that the locking is automatically done?

I have done some reading regarding snapshots in general, and it seemed
that if the filesystem was not in a consistent state, everything BUT
the database would be fine.

One of the suggestions was to use the snapshot feature on everything
except the DB, and use a dump feature in the database, for example
MySQL.

Is there any suggestions, techniques or guidance that could be offered?

Thanks,



Re: install with lvm and striping

2006-05-12 Thread Grant Thomas

On 5/12/06, Bram Biesbrouck <[EMAIL PROTECTED]> wrote:

Hi all,

The debian-installer allows to format disks using LVM, but it doesn't offer
the opportunity to use striping. Is there a way I can do this during the
installation process. If not, how do I re-partition my volumes using
striping?

Bram


Could you let us know what your system is?
  Architecture
 Version of Debian being installed
 etc...

Are you talking about hardware or software RAID?

Based on the information in your post, I will assume the following:

Striping Method: RAID5 via software RAID
Architecture:  X86
Number of discs:3
disc scheme:  One partition per disc. Disc dedicated to RAID Array
Installation media:  debian-31r1-i386-binary-1.iso

Once the installer is at the partitioning menu(Manually edit the
Partition table):

• For each physical disc:
   • Delete all partitions
   • Create a new partition(primary), using the whole disc
   • Use the partition as a "physical volume for RAID"

Now you should see that each disc has one entry for each disc, using
the whole disc, configured for RAID.

Select "Configure software RAID"
Accept changes to discs.

In the RAID configuration menu:
• Create MD device
   • Select RAID5
   • Set the number of active devices to '3' see 1
   • Set the number of spare devices to '0' see 1
   • Press space to place a * in the brackets of all your drives, and continue
   • Finish

You should now be back at the partitioning menu.
There should now be a RAID5 device listed in the area where your other
discs are listed.

Use this as you would any normal disc, and the kernel should take care
of any stiping that needs to be done
*

Note: 1
If you have more than three devices, you can activate a spare device
that will be used in the event that one of your active devices fails.

*

Please take care, as I have not completely installed a system with the
software RAID options.

I assume you could split one disc into three partitions and follow the
same steps if you only have one drive, but that would be pointless as
any write would write three times to the same disc.

Hopefully this was of some help.



Re: smp kernels and xorg

2006-05-12 Thread Grant Thomas

On 5/12/06, Luis Fernando Llana Díaz <[EMAIL PROTECTED]> wrote:

Hello,
  I have just installed a new debian box (etch version). Everything runs
perfect until I have installed a smp kernel, I have tried 2.6.15-1-686-smp
and 2.6.16-1-smp. It has a hyperthreading (or something similar) pentium and
it seems that in order to take advantage of that feature I have to use such a
kernel.
  Well the problem is that after using the X environment (kde or gnome) the
computer freeze completely. It doesn't even answer to a ping.


I don't know how much help I can give, but I'll try.
You mention after using an X environment that the system freezes.
Does this mean that you can successfully boot the system, and Xorg starts?

Are you able to boot with a non-smp kernel successfully and not have
the system freeze?

Usually after you install a new kernel through apt-get or aptitude,
your boot loader will get updated to show the new kernel and the old
kernel. At least it does for grub.



I do not where to start to look for a solution,

Luis.
--
http://antares.sip.ucm.es/~luis
In a world without walls, who needs windows


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]






Megaraid HP Proliant ML330

2006-05-15 Thread Grant Thomas

I have a question regarding hardware RAID on a Megaraid controller.

Using a netinstall etch CD, the installer recognizes my Hardware raid
controller and the disks in it, but not the HW array.

I have initialized a RAID 1 array in the setup utility provided after
the machine posts. During boot, before any media is booted, the
machine shows an that there is an array.

The installer, however, shows each drive indepententaly.
I'm not sure where to start looking, or what to be looking for.

Any help is greatly appreciated.



Re: dhcp, router and debian

2006-05-15 Thread Grant Thomas

On 5/15/06, Alle Meije Wink <[EMAIL PROTECTED]> wrote:

Hi,

I have installed a D-Link DI-524 wireless/ethernet router between my
cable modem and my PC. It worked fine on the first 5 (or so) sessions,
but now when I start up debian, the startup item `ATM' takes ages to
finish (it says `exim4' in the end) and I have no internet connection in


Are you sure you aren't seeing MTA?
If you are, that is probably exim starting, which on a few of my
systems caused boot delays. This caused no problem however, in my case
at least.

exim is the systems mailer, delevering mail between users, on certain
events, etc.

Have you tried ifconfig after you are logged in? You will have to
either use sudo, or su from a non-privelaged account.





Re: Megaraid HP Proliant ML330

2006-05-15 Thread Grant Thomas

This may not be of assistance to the Megaraid question I have, but
installing the system on one of the drives listed in the installer
installs to just one drive.

Even though HW RAID in active, it only access the individual disk.

I tried to use software RIAD in it's place, but after I made the md
devices, the system would go extremely slow, and lockup at 72% of
reading the partition information after I 'Finish' with the software
RAID section.

Thanks for any help



Re: [OT] Re: Problem with T-bird (was Re: Mail Issues (pt 2 ))

2006-05-16 Thread Grant Thomas

I'll bite:
I can't stand it when you guys hijack a thread like this.
And over something so silly!!

Everyone knows that CLI tools are dead.
Windows has sooo much of the market share that *nix will die a slow
horrible death!!!



Re: switching from apt-get to aptitude

2006-05-16 Thread Grant Thomas

> > For example, a few days ago I decided to take a look at KDE (I am a long
> > time IceWM user). I just did 'aptitude install kde' and had almost
> > several hundred MB worth of k* applications.  Exactly what I wanted and,
> > so far, exactly what apt-get would have done. But it was just an
> > experiment and I wanted to get rid of KDE again. Aptitude allowed me to
> > just 'aptitude purge kde' again and it removed *every* package kde
> > depended on. If I had used apt-get to install and remove kde, apt-get
>
> Even X?

Of course not! But you are right, I should have made myself more clear:
aptitude removed every package kde depended upon *that were not yet
installed* when I requested installation of kde.



Question for you (anyone) then:
If you install kde through aptitude, an aptitude marks Xorg as a
dependency, and then install gnome a couple of days later, would
removing kde also remove Xorg, or would it see it as a current
dependency for gnome and leave it?



Bind9 DHCP3 ddns static lease question: Post successful setup

2006-05-16 Thread Grant Thomas

[stable]

I have a successful setup of internal ddns.
It works like a champ for 99% of what I need.

The problem is assigning static leases through dhcpd.

To be complete, here is some information that may com in useful:

Client:
uncommented line in /etc/dhclient.conf to
send host-name "3800-dc";

This worked wonderfully in my complete dhcp pool.
If I take a look at tail /var/log/syslog on the dhcp server, I have
some lines like the following:

May 16 07:02:16 localhost dhcpd: DHCPDISCOVER from00:13:d3:XX:YY:ZZ via eth1
May 16 07:02:17 localhost dhcpd: DHCPOFFER on 199.30.30.89 to
00:13:d3:XX:YY:ZZ (3800-dc) via eth1
May 16 07:02:17 localhost named[3636]: client 127.0.0.1#34817:
updating zone 'test.domain/IN': adding an RR
May 16 07:02:17 localhost named[3636]: client 127.0.0.1#34817:
updating zone 'test.domain/IN': adding an RR
May 16 07:02:17 localhost dhcpd: Added new forward map from
3800-dc.test.domain. to 199.30.30.89


However, whenver I add the following to my dhcpd.conf

host 3800-dc {
 hardware ethernet 00:13:d3:XX:YY:ZZ;
 fixed-address 199.30.30.89;
}

I get lines like the following in the syslog:

May 16 20:18:05 localhost dhcpd: DHCPRELEASE of 199.30.30.89 from
00:13:d3:XX:YY:ZZ via eth1 (not found)
May 16 20:18:07 localhost dhcpd: DHCPDISCOVER from 00:13:d3:XX:YY:ZZ via eth1
May 16 20:18:07 localhost dhcpd: DHCPOFFER on 199.30.30.89 to
00:13:d3:XX:YY:ZZ via eth1
May 16 20:18:07 localhost dhcpd: DHCPREQUEST for 199.30.30.89
(199.30.30.2) from 00:13:d3:XX:YY:ZZ via eth1
May 16 20:18:07 localhost dhcpd: DHCPACK on 199.30.30.89 to
00:13:d3:XX:YY:ZZ via eth1


I have found a work around to this problem. I can stop the DNS server,
delete the .jrnl files associated with my network, and add the entries
into the DNS files. Both the revers and forward looking zone files.

This is a working solution for just the few IPs I need static now, but
will become a pain in the rear in the near future.
I want to have static leases for all of my PCs connected to the LAN
(about 30) and use a truly dynamic pool for traveling laptops, new
loads, etc...

This is not just a debian specific problem. Once the static leases are
defined, in either Debian or WinXP (not my choice), the problem is
created.


As usual, any help is greatly appreciated.



/etc/hostname /etc/dhclient.conf question

2006-05-16 Thread Grant Thomas

Quick question about the two files mentioned above.

If I change my hostname, I also have to change a line in
/etc/dhclient.conf to update my hostname on the network.

Is there a Debian Way to synch both of these files?

Or should I create a script that creates the /etc/dhclient.conf at
boot before the network interface comes up?

Thanks a bunch.



Re: /etc/hostname /etc/dhclient.conf question

2006-05-23 Thread Grant Thomas

That's what I had to do.  I use m4 to create the dhclient.conf file on
boot.


Thanks for the info. What is m4?



Re: /etc/hostname /etc/dhclient.conf question

2006-05-30 Thread Grant Thomas

On 5/23/06, Hendrik Sattler <[EMAIL PROTECTED]> wrote:

Grant Thomas wrote:

> Quick question about the two files mentioned above.
>
> If I change my hostname, I also have to change a line in
> /etc/dhclient.conf to update my hostname on the network.

"have to" is definitely wrong.

> Is there a Debian Way to synch both of these files?

Is there a real reason to do so?
Note that /etc/hostname must not represent the name on the current network.
This is even impossible at times where more than one network is attached.



I don't understand why the hostname file "must" not represent the name
on the current network.
My aim is to have the hostname the same name as the DNS entry and DHCP
log entry.

If I were to have my hostname set to "abc" and the network sees my
hostname via dhcp as "def" than any user would see the computer and
think the computer name is "abc".
Or is my logic wrong and I just misunderstand something?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: vmplayer and vmx file?

2006-07-07 Thread Grant Thomas

floppy0.present = "TRUE"
floppy0.fileName = "bootit"
floppy0.startConnected = "TRUE"

but it keeps on complaining that it can't connect
to "bootit"..

bootit is a floppy-image

-ishwar



Is bootit in the same location as the vmx file?
Also, is bootit the full name of the floppy image? It looks as if it
has no extension.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: MRTG

2006-08-13 Thread Grant Thomas

On 8/12/06, Alejandro <[EMAIL PROTECTED]> wrote:

Hi all, I have a Debian box with the MRTG package in order to monitor
the bandwidth of my dedicated Internet connection. The problem is that
the router connected to my Debian is managed by my ISP and not for me.
So I have no data about the SNMP read community from the router.

Is there any alternative or do I have to have the SNMP read community
from my router in order to run MRTG ??


I run mrtg on my router.
I don't have any problems with it there.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Etch and kvpnc

2006-04-24 Thread Grant Thomas
> > [snip backtrace]
>
> In the manage profiles / certificate/PSK area, can you check the option
> "File contains PSK", then point to your pcf file?  Does that work?
>
> Justin


Thank you Justin for your help, but it looks like I broke a giant rule.
I should really RTFM before I ask for help.
There was a command I found in the documentation that decoded the PSK
to plaintext for use, and this worked fine for what I needed it to.

Again, thanks for the help.



Multi-layered PKI implementation

2006-05-03 Thread Grant Thomas

Alright, I'm not sure that the subject line is completely correct, so
please bear with me.

When large buildings are keyed for locks, locks can be keyed for
different layers of security.

So, there might be the highest key, or skeleton key's used in old
houses that opened all the doors, and multiple levels of sub keys,
down to a key that opens only one lock.

I think I have a grasp on the basics of PKI as it relates to X.509
certificates, but I'm wondering if there is a PKI implementation that
allows for multiple layers of access built into the keys themselves.

I don't know if this is possible, or even desirable.

Thanks for any input or ideas,
Eldowan



Re: Multi-layered PKI implementation

2006-05-04 Thread Grant Thomas

Thanks for the explanations, they are rather more indepth than I was
expecting for an idle curiosity.

Thanks for the verbosity and the need for clarification, they are
always appreciated. As with many things, it is better to cut too long
and adjust than to start short and really mess up.

I did figure that the access control wasn't built into the scheme and
would take an external ACL implementation to do something like this.

In retrospect, I probably did have a slightly distorted impression of
PKI, but the core I did understand.
To all, thanks for the responses, they were greatly interesting.

So, one final question:
I would like to know more about encryption, the underlying
infrastructures, etc. What would be, in the lists recommendation, a
good place to start?

Thanks for any help again,

Eldowan



Virtual Folders

2006-02-21 Thread Grant Thomas
Is there anything around like the virtual folders in the MS Vista beta, or like Spotlight in OS X?Incase anyone is not familar with the term virtual folder:A virtual folder is basically a realtime folder view of saved searches.
The folder looks through the entire index, and logically groups files together by filters instead of putting them in the same physical directory.I assume it works off of an indexing service.Any help would be great, I have looked through some of the Debian apt mirrors, and searched google, but have found nothing.



Re: Printer problems from a newbie

2006-02-21 Thread Grant Thomas
What type of driver are you using for the printer?Usually I am able to get generic printing functionality fro CUPS by choosing the Raw printer option.It should be the one that states no driver is needed.Also, I usually add my user account into the lpadmin group.
How are you connecting to your printer? USB, ethernet, parallel port?Hope any of this helpsOn 2/21/06, Clyde Wilson <
[EMAIL PROTECTED]> wrote:
I have installed Debian 3.1 r1 and I am not able toprint anything.  I've used CUPS, Kprinter, and others,read the howto's and the mailing list, but nothingseems to work.  My printer, Epson Stylus C68, seems to
install, but when I print something it justdisappears.  It prints just fine under Knoppix 4.0.2but only when installed to harddisk.  Any suggestionswould be appreciated!--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Continuing chant "hde:hde1"

2006-02-21 Thread Grant Thomas
On 2/19/06, John <[EMAIL PROTECTED]> wrote:
> My problem continues: an endlessly repeated chant of "hde:hde1"
> interspersed with an occasional "hdb:hdb4." I can't figure out the
> cause, and would be grateful for insight or a lead.
>
[snip]
> generous fragment of dmesg during which the problem starts:
>
> hdb: 98304kB, 96/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
>  hdb: hdb4
> cs: memory probe 0xf000-0xf80f: excluding 0xf000-0xf87f
> cs: unable to map card memory!
> cs: unable to map card memory!
> cs: IO port probe 0x100-0x3af: clean.
> cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
> 
> pcmcia: registering new device pcmcia1.0
> 
>  hdb:hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
> ide: failed opcode was: unknown
> hda: drive not ready for command
>  hdb4
> hda: CHECK for good STATUS
> Probing IDE interface ide2...
> hde: TOSHIBA THNCF064MBA, CFA DISK drive
>  hdb: hdb4
> ide2 at 0x5100-0x5107,0x510e on irq 3
> hde: max request size: 128KiB
> hde: 125184 sectors (64 MB) w/2KiB Cache, CHS=978/4/32
> hde: cache flushes not supported
>  hde: hde1
> ide-cs: hde: Vcc = 3.3, Vpp = 0.0
>  hdb:<6> hde: hdb4
>  hde1
>  hde: hde1
>  hde: hde1
>  hde: hde1
>  hde: hde1
>  hde: hde1
>  hde: hde1
>  hde: hde1
>  hdb: hdb4
>  hde: hde1
>  hde: hde1
>  hde: hde1
>  hde: hde1
>  hde: hde1
>  hdb: hdb4
>  hde: hde1
[snip]
>
> 
>

check here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=352274
and here(in the issues section):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=352274
It seems that there is an issue with newer versions of udev.
Booting with version 0.084 and the 2.6.15 kernel looks to trigger the issue.
They sat it doesn't break anything just makes booting ugly.
So it seems that you have two options.
Stick it out untill a fix is available
or
keep using 0.079-1 untill there is a fix available.

> With versions of udev higher than 079-1, after stopping udev,
> /etc/init.d/udev start stalls at
> Waiting for /dev to be fully populated...
>
> Sincerest TIA for any suggestions.

Hopefully this helps.



Re: Virtual Folders

2006-03-17 Thread Grant Thomas
> This might totally be what you have not in mind, but something like this
> will take a search and put all matches as a link into a directory:
>
> mkdir ~/tmp/virtual_ooffice; for b in `locate /home/*\.sxw`;
> do cp -l $b tmp/virtual_ooffice/; done
>
> This one-liner can be enhanced/changed to all your whishes, basically
> any file matching program can replace the locate in backticks.
> Also some quotes would be needed for escaping weirdly named files.
> And finally you might want to build a little shell script that takes
> output dir and search pattern as arguments.
>
> But I guess you are looking for something graphical...
>

Thanks for the info. I will give it a shot and hopefully it will do
what I'm looking for.

I'm not not looking specifically for something graphical, Apple and
Vista are the only two examples that I had to go off of.



Etch and kvpnc

2006-03-23 Thread Grant Thomas
I have need of connecting to a Cisco VPN server.
On windows I can use the cisco VPN utility just fine; so it is not a
connectivity issue.

I have installed kvpnc and vpnc, so I should have all the packages I
need. Also, I have transferred my *.pcf file from my windows box to my
debian workstation.

This is where the problem comes in. When I try to initiate a
connection through kvpnc, the application crashes; at the bottom of
this message is a backtrace from KDE's crash handler.

I have tried running from the command line, but I run into a problem:
vpnc asks for a group password. In my pcf file, the cleartext password
is empty, but the encoded password is used.

So, since I do not know the group password, this is what vpnc
expresses on execution:
vpnc output:
---
vpnc: hash comparison failed: AUTHENTICATION_FAILED
check group password!
---

I guess My main question is if anyone knows of a way to use the
encoded group password in vpnc.(option enc_GroupPwd in the pcf file)

Any help is appreciated.
Thanks very much.


Backtrace below.
---
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1232066880 (LWP 19898)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xe410 in __kernel_vsyscall ()
#7  0xb694f691 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6950f5b in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6985bb7 in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#10 0xb698c187 in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6
#11 0xb698c622 in free () from /lib/tls/i686/cmov/libc.so.6
#12 0x080fa520 in QValueList::clear ()
#13 0x080a7e4e in QObject::metaObject ()
#14 0x080a8733 in QObject::metaObject ()
#15 0xb7a7f3ad in KDialogBase::slotOk () from /usr/lib/libkdeui.so.4
#16 0xb7b14249 in KDialogBase::qt_invoke () from /usr/lib/libkdeui.so.4
#17 0x080a71b9 in QObject::metaObject ()
#18 0xb701fb57 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0xb702063b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0xb73b804e in QButton::clicked () from /usr/lib/libqt-mt.so.3
#21 0xb70bd6b7 in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#22 0xb705aec6 in QWidget::event () from /usr/lib/libqt-mt.so.3
#23 0xb6fb5698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#24 0xb6fb5c6b in QApplication::notify () from /usr/lib/libqt-mt.so.3
#25 0xb78a0d4e in KApplication::notify () from /usr/lib/libkdecore.so.4
#26 0xb6f45653 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#27 0xb6f40ae4 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#28 0xb6f3edbe in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#29 0xb6f588c0 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#30 0xb6fcdda2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#31 0xb6fb4255 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#32 0xb71d4cf6 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#33 0x08061f2e in ?? ()
#34 0xbf8d488c in ?? ()
#35 0x0826d960 in ?? ()
#36 0x08267cf0 in ?? ()
#37 0xbf8d4960 in ?? ()
#38 0x08298ad8 in ?? ()
#39 0x0002 in ?? ()
#40 0xbf8d4898 in ?? ()
#41 0xb6f451e8 in QWidget::isEnabled () from /usr/lib/libqt-mt.so.3
#42 0x0809f155 in ?? ()
#43 0x08267cf0 in ?? ()
#44 0x0828dd40 in ?? ()
#45 0xbf8d4a18 in

Re: Re: SATA problems

2005-07-21 Thread Grant Thomas


Hello, My name is Grant, and I am having the exact same problem with my  
ST20G5, a Shuttle computer.

I have one SATA Western Digital drive, and 1 PATA Western Digital drive.
I was able to get 2.6.8 installed off the Sarge netinstall to the PATA  
drive.


Hopefully this will be of some help, and could help to gey my SATA  
controller working
Please keep in mind that I am also fairly new to Linux, but am interested  
in learning as much as I can.




Boot the 2.6 kernel in installation, after hardware detection go onto
the console and post the output for `lspci -v` and `lsmod`.


After installing and configuring debian, this is output to both of the  
commands listed above:


***
lspci -v
***

:00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5950 (rev  
01)

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f391
Flags: bus master, 66MHz, medium devsel, latency 32
I/O ports at ff00 [disabled] [size=32]
Memory at  (64-bit, non-prefetchable)

:00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5a3f  
(prog-if 00 [Normal decode])

Flags: bus master, 66MHz, medium devsel, latency 99
Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
I/O behind bridge: e000-efff
Memory behind bridge: dfa0-dfaf
Prefetchable memory behind bridge: d000-d7f0
Capabilities: [44] #08 [a803]
Capabilities: [b0] #0d []

:00:06.0 PCI bridge: ATI Technologies Inc: Unknown device 5a38  
(prog-if 00 [Normal decode])

Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: d000-dfff
Memory behind bridge: dfe0-dfef
Prefetchable memory behind bridge: dfd0-dfdf
Capabilities: [50] Power Management version 3
Capabilities: [58] #10 [0041]
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 
Enable-
Capabilities: [b0] #0d []
Capabilities: [b8] #08 [a803]

:00:19.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge (prog-if  
00 [Normal decode])

Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
I/O behind bridge: c000-cfff
Memory behind bridge: dfc0-dfcf
Prefetchable memory behind bridge: dfb0-dfbf
Capabilities: [c0] #08 [a803]

:00:1c.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)  
(prog-if 10 [OHCI])

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 169
Memory at d000 (32-bit, non-prefetchable) [size=4K]

:00:1c.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)  
(prog-if 10 [OHCI])

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 169
Memory at dfffe000 (32-bit, non-prefetchable) [size=4K]

:00:1c.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)  
(prog-if 10 [OHCI])

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 169
Memory at dfffd000 (32-bit, non-prefetchable) [size=4K]

:00:1c.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)  
(prog-if 20 [EHCI])

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 177
Memory at dfffc000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Capabilities: [58] #0a [2090]

:00:1d.0 0403: ALi Corporation: Unknown device 5461
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
c790
Flags: bus master, medium devsel, latency 32, IRQ 185
Memory at dfff4000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2

:00:1e.0 ISA bridge: ALi Corporation: Unknown device 1573 (rev 31)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f391
Flags: bus master, medium devsel, latency 32

:00:1e.1 Bridge: ALi Corporation M7101 Power Management Controller  
[PMU]

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f391
Flags: medium devsel

:00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7) (prog-if fa)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 193
I/O ports at fe00 [size=16]

:00:1f.1 RAID bus controller: ALi Corporation: Unknown device 5287  
(rev 02)

Subsystem: Holco En

Debian Installer SATA detection

2005-07-25 Thread Grant Thomas


Display all headersDate: Mon, 25 Jul 2005 22:26:28 -0500
To: [EMAIL PROTECTED]
Subject: SATA installer detection
From: "Grant Thomas" <[EMAIL PROTECTED]>
Organization: Debian user lists


I have a problem getting the Debian Installer to recognize my SATA  
controller.

My computer is a ST20G5, a Shuttle small form factor PC.
Currently I have an 80G SATA drive, and a 120G PATA drive to work with.
I have been able to setup Debian with no problem on the PATA drive, but I  
would rather have the SATA working.
I have confidence that the hardware is good, as I have installed XP to the  
SATA drive, and it works flawlessly.


The SATA conrtoller is a ULi M5287.

The methods I have tried are:
Sarge netboot,netinstall,businesscard CD images and the last few daily  
builds of the netinstall and businesscard CD for the i386

and the AMD64 sections of the ports.

I am at a loss of what to do, but have only come up with some information  
that may help in fixing this problem.
Working off of a previous post by Jim Blake, I have the outpus of lsmod  
and lspci -v.
My files are not after the hardware detection, as indicated in the  
previous thread, but on my installed debian system on the same

machine.

At this point the SATA is not crucial to the system working, but I would  
prefer to keep this entire drive(PATA) for data only.


If it is not possible at this time to configure the drive for boot, I  
would also be interested in detecting the device and using

it inside my current Debian install.

Thanks for any help anyone may throw my way.
Grant


***
lspci -v
***

:00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5950 (rev  
01)

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device f391
Flags: bus master, 66MHz, medium devsel, latency 32
I/O ports at ff00 [disabled] [size=32]
Memory at  (64-bit, non-prefetchable)

:00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5a3f  
(prog-if 00 [Normal decode])

Flags: bus master, 66MHz, medium devsel, latency 99
Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
I/O behind bridge: e000-efff
Memory behind bridge: dfa0-dfaf
Prefetchable memory behind bridge: d000-d7f0
Capabilities: [44] #08 [a803]
Capabilities: [b0] #0d []

:00:06.0 PCI bridge: ATI Technologies Inc: Unknown device 5a38  
(prog-if 00 [Normal decode])

Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: d000-dfff
Memory behind bridge: dfe0-dfef
Prefetchable memory behind bridge: dfd0-dfdf
Capabilities: [50] Power Management version 3
Capabilities: [58] #10 [0041]
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [b0] #0d []
Capabilities: [b8] #08 [a803]

:00:19.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge (prog-if  
00 [Normal decode])

Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
I/O behind bridge: c000-cfff
Memory behind bridge: dfc0-dfcf
Prefetchable memory behind bridge: dfb0-dfbf
Capabilities: [c0] #08 [a803]

:00:1c.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)  
(prog-if 10 [OHCI])

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 169
Memory at d000 (32-bit, non-prefetchable) [size=4K]

:00:1c.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)  
(prog-if 10 [OHCI])

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 169
Memory at dfffe000 (32-bit, non-prefetchable) [size=4K]

:00:1c.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)  
(prog-if 10 [OHCI])

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 169
Memory at dfffd000 (32-bit, non-prefetchable) [size=4K]

:00:1c.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)  
(prog-if 20 [EHCI])

Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device f391
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 177
Memory at dfffc000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Capabilities: [58] #0a [2090]



:00:1d.0 0403: ALi Corporation: Unknown device 5461
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device c790
Flags: bus master, medium devsel, latency 32, IRQ 185
Memory at dfff4000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2


:00:1e.0 ISA bridge: ALi Corporation: Unknown device 1573 (rev 31)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device f391
Flags: bus master, medium devsel, latency 32

:00:1e.1 Bridge: ALi Corporation M7101 Power Manag

Re: Debian Installer SATA detection

2005-07-26 Thread Grant Thomas
On Tue, 26 Jul 2005 07:41:35 -0500, Jacob S <[EMAIL PROTECTED]>  
wrote:



On Tue, 26 Jul 2005 11:52:16 +0100
Clive Menzies <[EMAIL PROTECTED]> wrote:


On (25/07/05 22:30), Grant Thomas wrote:
> I have a problem getting the Debian Installer to recognize my SATA
> controller.
> My computer is a ST20G5, a Shuttle small form factor PC.
> Currently I have an 80G SATA drive, and a 120G PATA drive to work
> with. I have been able to setup Debian with no problem on the PATA
> drive, but I   would rather have the SATA working.
> I have confidence that the hardware is good, as I have installed XP
> to the   SATA drive, and it works flawlessly.




If you already have Debian installed on the PATA drive you could load
the necessary modules (for SATA) using 'modconf'.  You could then use
chroot to install a debian system on the SATA drive.

However, it would seem you want to do a fresh install and the
installer is not picking up the SATA drives.  Try
# expert26
at the boot prompt.  It will then give you access to many more modules
for the install; I haven't checked the compatability list for the SATA
controller.


Or if you simply want SATA support without the extra prompts and options
that 'expert26' gives, you could also enter 'linux26' at the boot
prompt.

HTH,
Jacob





I dont mind the expert26 option, but I am not sure which modules to load.
I have tried before, but I wasn't even able to get my Broadcom NIC to work.
Is there somewhere I could look for help configuring with the expert26  
option?


Unfortunately, the linux26 option does not recognize my drive.

Thank you both for the help you have given.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Can't get more than 1024x768 even with the on-board card properly detected (XFree86+KDE 3.3)

2005-08-04 Thread Grant Thomas
Someone correct me if I'm wrong, please.

1). I believe if you re-run the dpkg-reconfigure xserver-xfree86, there should
be a section where it asks you which modes your monitor can display,
if you choose either medium or advanced.
2.) Another method is to copy your XF86Config-4 file to
XF86Config-4.old or similar, and manually edit it. I say copy it
first, because if you make a change to it and then try to run
dpkg-reconfigure, it will leave that file just as it it. Only try this
if 1 does not fix the problem.

Open the file in your favorite text editor, and look in the screen
section, and you should see a portion that looks similar to:...

SubSection "Display"
  Depth   16
  Modes  "1024x768" "800x600" "640x480"
EndSubSection


Add your desired resolution in front of each "1024x768" entry, making
sure to include a space between quotes for consistency's sake.
You only NEED to edit the line of your default bit-depth (which you
can change in that file as well), but if for some reason you ever need
to change your depth, this will take care of having to re-edit your
file.

Your modes lines should look something like this:

  Modes  "1152x864" "1024x768" "800x600" "640x480"

Restart X.

This should now get you loaded in your higher resolution.
The fact that your resize app only shows 1024 probably means that you
only have the "1024x768" settings and not smaller ones.

Hopefully this will get you back on your feet.


On 8/4/05, Fernando Cacciola <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I finally installed Sarge (dual boot with WinXP) on a P4 with an D865GBF
> Intel Motherboard using packages downloaded from a previous installation on
> another older PC (via jigdo, which worked fine)
> 
> I have a few pending details to adjust, but one of them I eluding me...
> 
> Post install and with KDE 3.3 up and running fine, I run dpkg-reconfigure
> xserver-xfree86
> 
> to adjust some X settings.
> 
> The script made a wonderful job at detecting my video and monitor hardware
> (an On-board AGP with 64Mb and a 15" Phillips) so it proposed itself the
> right configuration (as I could see becasue the actual names were shown to
> me); thus, I choosen resolutions higher than 1024x768, which I know the card
> and monitor handles nicely becasue I use  in WinXP and it does work
> up to 1280x1024 -except that *I* can't read anything there-.
> 
> I only get at most 1024x768 in KDE 3.3 (and I think in gdm too) (in fact,
> the pulldown menu shows just up to this resolution)
> 
> How can I fix this?
> 
> Related note: I see I have both XF86Config and XF86Config-4.. which one is
> my system using? How can I tell? Why are there both?
> 
> TIA
> 
> Fernando Cacciola
> 
> 
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>



Re: Debian Sarge - kernel 2.6 problem

2005-08-04 Thread Grant Thomas
I believe after you modprobe, to switch back to the installer try (Alt-F1).
This should switch you back to the original console.

Hope this helps.

On 8/4/05, John Willby <[EMAIL PROTECTED]> wrote:
> Hi
> 
> >
> > 1. boot the sarge CD and type "linux26" at the prompt
> > 2. switch to second virtual console (Alt-F2) as soon as the language
> > selection screen appears 3. manually load ide CD drivers by typing:
> >   # modprobe piix ide-generic ide-cd
> 
> No problem
> 
> > 4. Return to first console and continue setup
> 
> [warning noob question coming!]
> 
> err if I type debian-installer it really screws up my graphics output
> and I can't see ought. i have an Nvidia TNT card. Do I need to do
> something else to sort this out?
> 
> > 5. Setup the debian system and install newer 2.6 kernel:
> >   # apt-get install linux-image-2.6.12
> >
> 
> Can't see to get this far
> 
> --
>   John Willby West Midlands GLASS rep
>   Registered Linux user number 321644
>   ICQ: 92791912  MSN: [EMAIL PROTECTED]
>   Cum catapultae proscriptae erunt tum soli proscripti
>   catapultas habebunt
>  00:53:45 up 19:06,  2 users,  load average: 0.08, 0.07, 0.09
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>



Re: apt-get: Command not found.

2005-08-05 Thread Grant Thomas
 On my system, testing, 2.6.11-1-686 kernel I am able to type the following:
locate apt-get

this will search the root drive with the permissions of whomever is logged in,
and display the results at the command line.
My machine returns the following.
Ran as root:

# locate apt-get
/usr/binapt-get
/usr/share/man/es/man8/apt-get.8.gz
/usr/share/man/fr/man8/apt-get.8.gz
/usr/share/man/fa/man8/apt-get.8.gz
/usr/share/man/man8/apt-get.8.gz

could you list the outpus of this command?
On 8/2/05, James A. Donald <[EMAIL PROTECTED]> wrote:
> On Tue, 02 Aug 2005 09:40:11 +0200, Gene Heskett
> <[EMAIL PROTECTED]> wrote:
> 
> > On Tuesday 02 August 2005 03:05, James A. Donald wrote:
> > >apt-get: Command not found.
> > >
> > >I am a newbie to linux.  I recently installed Debian on a computer
> > >that sits in a closet
> > >
> > >So I ssh in.  I got Samba working fine, after tinkering with the
> > >/etc/samba/smb.conf file to read:
> > >
> > >[global]
> > >workgroup = workgroup
> > >netbios name = linux
> > >security = share
> > >[shareRW]
> > >path =  /home/james/Documents/sharedRW
> > >read only = No
> > >guest ok = Yes
> > >
> > >and manually starting the daemons with
> > >nmbd -D
> > >smbd -D
> > >
> > >All was well
> > >
> > >But then I wanted it to automatically start the daemons on reboot,
> > > and I had no idea how to do that.
> > >
> > >So I said to myself, "well, surely Debian knows how to do that", so
> > >attempted to type
> > >
> > >apt-get update
> > >apt-get install samba smbclient
> > >
> > >Only to get the surprising message: apt-get: Command not found.
> 
> 
> > Did you use the - option to su when you became root to do that stuff?
> >
> > I doubt that apt-get or any of its ilk are available if you do a plain
> > su, which, unlike doing an 'su -' does not give you roots $PATH.
> 
> Yes, I tried it all ways.
> 
> --
> http://www.jim.com
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>



Re: Can't get more than 1024x768 even with the on-board card properly detected (XFree86+KDE 3.3)

2005-08-05 Thread Grant Thomas
I have an HP tablet pc to work on, so I couldn't test with your
resolution, as mine
only scales to 1024x768. This is what I did, and it could help you.

when you start your X session, by default a log file is created at
/var/log/XFree86.0.log
type mv /var/log/XFree86.0.log /var/log/XFree86.0.log.old
  this will just rename the logfile, so we can start a new one fresh.
then 
type startx
open /var/log/XFree86.0.log in your favorite text editor.

Scroll until you see a line that looks like this (or something similar):

(II) Setting vga for screen0
this is the section where it probes your monitor for valid resolutions.
I took the modes lines out of my XF86Config-4 file, and this is where
it get interesting. X will probe a bunch of different screen settings
to find one that will work. In my case many of the default resolutions
do not work.

Scroll down and see if you find something similar to this.

(**) DRIVERNAME(0): Validated modes for display device DEVICENAME:

if this exists, the lines immediately after this will show the
resolution X believes are good. Then, just below this, would be
something similar:
(**) DRIVERNAME(0):   Default mode "INSERT RESOLUTION": Scan freq. .

This will list all of the modes X deems as compatible with your current setup.

If your modes line contains an incompatible resolution, it will also
state this. above the (**) line.

(WW) DRIVERNAME(0): Not using mode "INSERT RESOLUTION" ("INSERT REASON")

If your log file states that your custom mode is incompatible, it will
take someone with more knowledge than I to help you.
I am actually new to Linux, and don't know nearly as much as I would like.

anyway, if this doesn't work post the contents of your entire
XF86Config-4 file, as well as the entire /var/log/XFree86.0.log file.

Until next time...

On 8/5/05, Fernando Cacciola <[EMAIL PROTECTED]> wrote:
> Hello Grant,
> 
> That's what I did...
> My XF86Config-4 has:
> 
> (only relevant parts shown... all color dephts have the same modes)
> 
> Section "Screen"
>  Identifier "Default Screen"
>  Device  "Intel Corporation 82865G Integrated Graphics Device"
>  Monitor  "PHILIPS 107T5PHL"
>  DefaultDepth 24
>  SubSection "Display"
>   Depth  24
>   Modes  "1152x864" "1024x768" "800x600" "640x480"
>  EndSubSection
> EndSection
> 
> Section "ServerLayout"
>  Identifier "Default Layout"
>  Screen  "Default Screen"
>  InputDevice "Generic Keyboard"
>  InputDevice "Configured Mouse"
> EndSection
> 
> Does KDE 3.3 overrides this?
> 
> TIA
> 
> Fernando Cacciola
> 
> 
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>



Re: GeForce 4 MX 400

2005-08-05 Thread Grant Thomas
try the nv driver, or even the vesa driver, both of those should do you fine.
dpkg-reconfigure xserver-xfree86
 if you have xfree86, not sure about xorg though.

On 8/5/05, Rogerio Eduardo Oliveira <[EMAIL PROTECTED]> wrote:
> Hello Dears,
> I have one video card GeForce 4 MX 400, where debian
> "sarge" cannot recognize it (problem with driver). I
> already try compile drivers from web site nVidia, but
> it return a lot of errors, and I give up. Anyone has
> one better idea?
> 
> 
> Att,
> Rogério Eduardo de Oliveira
> 
> (61)5521233/(61)96270199
> 
> "Any fool can write code that a computer can understand. Good programmers 
> write code that humans can understand." (Martin Fowl)
> 
> 
> 
> 
> 
> ___
> Yahoo! Acesso Grátis - Internet rápida e grátis.
> Instale o discador agora! http://br.acesso.yahoo.com/
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>



Re: Windows corrupts Grub on Dell

2005-08-05 Thread Grant Thomas
I believe if you hit the esc key during the installer process, you
should see an item that says install lilo boot loader, or something similar.

On 7/27/05, Hendrik Boom <[EMAIL PROTECTED]> wrote:
> On Wed, Jul 27, 2005 at 08:09:08AM -0700, Alan Ianson wrote:
> > On Wed July 27 2005 05:27 am, Hendrik Boom wrote:
> > 
> > [...]
> > 
> > > And lilo worked fine.
> > >
> > > Is there some way to get to this list-of-phases page without
> > > first making grub fail?
> > 
> > I think the 'expert' boot option will bring up that list.
> 
> I did another install -- I'm practising installs on a machine no one
> uses, and specified LVM when I partitioned.  This time I got no grub
> option at all -- just lilo!
> 
> -- hendrik
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
>



adding modules to an initrd image

2005-08-25 Thread Grant Thomas
I have recently installed Etch onto my computer, an ST20G5 from
shuttle. I am using a SATA HD, which is on a ULI SATA controller.
I am able to install to the hard-drive after I load the module
manually in the installer via modprobe. Everything installs fine, but
I have a problem on boot:

When the initrd image tries to pivot_root, kernel panic happens
because it can't read the root fs correctly, and I think it is because
the SATA module isnt loaded by the initrd. Also the module sata_uli is
not in the /etc/modules directory.

I have tried just placing the module from the installer in
/etc/modules so it would load on boot, but it since it can't find the
fs to begin with, this is useless, as the initrd loads modules from
the image.

So, I have an un-bootable installation that needs an updated initrd
image. How would I go about creating this image?

Also, I do have a working installation on a PATA drive in the same
system, so would it be feasible to make it there, since the hardware
is the same? If so, and I were able to create a good initrd from
within my existing installation, how would I make sure it loads from
the SATA drive, and not the PATA drive?

I don't mind booting to the PATA drive to make the system boot
correctly, but information on how to make an initrd image for a
foreign computer, or how to take an existing initrd image from a
foreign computer and update it would be wonderful.

Thanks for any help anyone may provide, I would really love to get the
PATA drive out of use.



Re: adding modules to an initrd image

2005-08-26 Thread Grant Thomas
On 8/26/05, Jan T. Kim <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 25, 2005 at 08:52:10PM -0500, Grant Thomas wrote:
> > I have recently installed Etch onto my computer, an ST20G5 from
> > shuttle. I am using a SATA HD, which is on a ULI SATA controller.
> > I am able to install to the hard-drive after I load the module
> > manually in the installer via modprobe. Everything installs fine, but
> > I have a problem on boot:
> >
> > When the initrd image tries to pivot_root, kernel panic happens
> > because it can't read the root fs correctly, and I think it is because
> > the SATA module isnt loaded by the initrd.
> 
> You could check this by running (after having booted successfully,
> perhaps from another disk or a CD etc.)
> 
> mount -t cramfs -o loop  /mnt
> 
> and then checking whether the modules in question are really absent.
> 

OK, I am at work now, but using the cramfs mount option, my initrd
image does mount correctly.
If I mount the initrd image, and make changes, then unmount it, will
it still be a working image?
Asuming that the sata module is not there, and I am able to add it to
the correct directory, how would I manage to get it to load the module
correctly?
Would I just insert a line of sata_uli in the equivelant of /etc/modules?
If so, which file would that be?

> Best regards, Jan
> 
> P.S.: For the sake of knowing it, I'd still like to know how / whether
> it is possible to control the initrd assembly process of make-kpkg in
> order to get certain modules included -- I'm still puzzled by the fact
> that the modules were included in the initrd image in
> linux-image-2.6.12-1-686.deb but not in the initrd image in the
> package which I made from the Debian 2.6.12 kernel sources using
> make-kpkg...

Thanks for the help, hopefully this will be the last step to finally
getting my machine going on my SATA drive.



Re: adding modules to an initrd image

2005-08-26 Thread Grant Thomas
Sorry to double post like this, but I forgot to ask a related question.

If I am able to edit my initrd image and get it working, would it work
in someone else machine that is of the same make/model?

Another user has the same model I do, ST20G5, the motherboard is the
same, but the disks / other devices may not be the same. I would
assume this would work, but I try to be careful on my assumptions,
especially with things (like this) that I know very little about.

Thanks again,



Re: Installation woes: How can I network boot a dell gx280, including tg3? May require kernel 2.6.12.

2005-08-26 Thread Grant Thomas
> Dell Gx280 installation
> 
> Tigon3 ethernet card is not supported on the debian testing network
> install download(kernel 2.6.8).
> (http://cdimage.debian.org/pub/cdimage-testing/daily/)
> 
> Error:
> [tg3:eth%d:Firmware "tg3/tso-1.4.0" not loaded; continuing without TS0]
> 
> The sarge network install failed due to missing modules, network
> worked but I could not access my hard drive.
> 
> The issues (due to non free license) are allegedly resolved in 2.6.12 .
> 
> Options:
> 1/ Wait for testing network install to include 2.6.12
> 2/ Try another distro
> 3/ Install sarge from cd/dvd set (which is more likely to include the
> relevent modules) and upgrade to testing
> 4/ Shoehorn kernel from www.kernel.org
> 5/ ???
> 
> Any suggestions?
> 
> I suppose my next angle of approach is 3.
> 
> I do have a flat screen which may need configuration so my journey is
> just starting.
> 
> Thank you for your time,
> 
> Turloch
> 

Actually, the tg3 module is included in the net installer, but is
tricky to get loaded. You might try this:
step through the installer until it fails to find your nic.
Now, press +F2, then press 
This will take you to a secondary console.
After your nic detection has failed in the installer, type:
modprove tg3
The nic driver should load.
Now, press +F1
Retry the network detection.

If it works for you the way it worked for me, problem solved.

PS. There is a reason that I say wait until after the nic is not found.
On my system, if I try to load the tg3 module right after the
installer loads, it will not find the module. But, if I try to load it
again, after the nic detection fails, it will find and load the
module.



Re: adding modules to an initrd image

2005-08-26 Thread Grant Thomas
I tried to load the SATA modules from the installer into my install on
the PATA drive, and receive this output:

debian:~# modprobe sata_uli
WARNING: Error inserting scsi_mod
(/lib/modules/2.6.8-2-386/kernel/drivers/scsi/scsi_mod.ko): Invalid
module format
WARNING: Error inserting libata
(/lib/modules/2.6.8-2-386/kernel/drivers/scsi/libata.ko): Invalid
module format
FATAL: Error inserting sata_uli
(/lib/modules/2.6.8-2-386/kernel/drivers/scsi/sata_uli.ko): Invalid
module format
debian:~#

I did the following to try to get this to work.
Loaded the installer, and mounted my PATA partition.
loaded the sata_uli module, and noticed that the other two modules
loaded before it, and figured that I would need a modules.dep addition
to include the dependencies.
So I copied all three modules to the scsi module location on my PATA
drive, and updated the /etc/modules (PATA) to include sata_uli
I also updated the PATA modules.dep like so:
/lib/modules/2.6.8-2-386/kernel/drivers/scsi/sata_uli.ko:
/lib/modules/2.6.8-2-386/kernel/drivers/scsi/libata.ko
/lib/modules/2.6.8-2-386/kernel/drivers/scsi/scsi_mod.ko
This is the weird thing: the line above this also has the scsi_mod.ko
entry after the :
They path to the scsi_mod is exactly the same on both lines, so I
figure that the entry is not a problem.

I do seem to remember that the installer used kernel 2.6.11 ro 2.6.12,
but installs 2.6.8. I wonder if the installer kernel is new enough to
warrant a module incompatiblity...

Looks like I'm stuck for the moment...



Re: Installation woes: How can I network boot a dell gx280, including tg3? May require kernel 2.6.12.

2005-08-29 Thread Grant Thomas
On 8/29/05, Turloch O'Tierney <[EMAIL PROTECTED]> wrote:
> Grant,
> 
> Thanks for the pointer, I have not got it right though.
> If I get the tg3 network card working I will write a detailed
> description to the mailing list.
> 
> Thank you for your time,
> Turloch
> 
> Slightly confused messages follow:
> 
> > Actually, the tg3 module is included in the net installer, but is
> > tricky to get loaded. You might try this:
> > step through the installer until it fails to find your nic.
> 
> I did not see the installer complain, the first problem I see is that
> tg3 fails to load in the boot messages, and ppp config in base-config
> says I have no network connection.

You see this message at boot, so you have completed the installation?

> Do you mean type +F2 during the install from CD or from
> configuration from the hard drive? I presume you mean during install
> from CD, I reinstalled from CD but did not see how to retry the
> network detection. Am I using the right debian testing network
> install:

Yes, I did mean during the installation from the CD, I am sorry for
the confusion and I see now that a distinction needs to be made,
thanks for pointing that out.

> 
> http://cdimage.debian.org/pub/cdimage-testing/daily/

I believe this is the correct place, as this is where I download my images from.

> 
> 
> > Now, press +F2, then press 
> > This will take you to a secondary console.
> > After your nic detection has failed in the installer, type:
> > modprove tg3
> 
> I presume you mean modprobe

Yes, I did mean modprobe

> [I cannot see modprove in /sbin and google has very few hits for it]
>
> # modprobe tg3
> runs with no output

I may be mistaken, but I think this means that the module is already
loaded correctly into the system.
Try running ifconfig as root, and look at the output.
If it shows an entry for eth0, eth1, etc... the nic was detected, I think.

> 
> [whereas modprobe string_with_no_module
> comes back with an error]
> 
> > The nic driver should load.
> > Now, press +F1
> > Retry the network detection.
> >
> > If it works for you the way it worked for me, problem solved.
> >
> 
> Do you have to run `modprobe tg3` in the startup configuration scripts?

The installer should do this for you, but if not, you should be able
to place a new line in the /etc/modules file called tg3
echo tg3 >> /etc/modules
you will have to do this with root privelages.

Hopefully this might be of some help...

I do have a question for you, and I must admit I am a little confused
after re-reading your initial post.
You were able to use the network, but not able to access the HD?

> Error:
> [tg3:eth%d:Firmware "tg3/tso-1.4.0" not loaded; continuing without TS0]

When did this error show, after the CD installation portion, and
before the HD portion? After the HD portion?

Thanks.



Re: OT: Who will switch to (or at least try out) Opera now that they have free registrations?

2005-08-30 Thread Grant Thomas
I use it as my preferred browser.
If you like a minimalistic approach (I do), there is a skin caled
Breeze Micro, you can get it from the community section of Opera.com

Some sites I still have to use IE - when in windows.
Other than that, I really enjoy the browser, it even has an integrated
email client / mail reader / rss reader / irc client options.

And love the mouse gestures.

What is adblock?



Re: Problems with traffic shaping (tcng / tc)

2005-10-06 Thread Grant Thomas
On 9/20/05, Clemens Eisserer <[EMAIL PROTECTED]> wrote:
> Does really nobody know wether this does not work?
> Should it work theoretically?
>
> Maybe you could point me where tc/tcng-experienced people are - I do
> not want to nerve with this topic since its of course on topic on the
> debian users list ;-)
>
> Thanks for your patience, lg Clemens
>
> 2005/9/20, Clemens Eisserer <[EMAIL PROTECTED]>:
> > Hi there,
> >
> > I use a old P90 for routing our LAN into the internet, however
> > sometimes I want to download large binaries to the server itself which
> > may not slow down the internet-connection of the PCs in the LAN.
> >
> > I wrote a small tcng-skript which should do the trick - basically
> > assign all available bandwith tho the two end-user pcs in the LAN
> > (user1, user2) - and only very little minium bandwith to the server
> > itself (user3).
> > However if I start to download an iso on the server using wget
> > browsing is almost impossible on the LAN pcs at all :-(
> > Any ideas what could be wrong, since I am very new to tcng it could be
> > easily that I made mistakes or misunderstood something.
> > Btw. I route the two PCs into the internet doing NAT via iptables.
> >
> > Please help, I already tried days to slove it myself but I simply was
> > not able to find the problem :-(
> >
> > Thank you in advance, lg Clemens
> >
> > The tcng-"source":
> >
> > #include "fields.tc"
> > #include "ports.tc"
> > $INTERFACE="ippp0";
> > $MAX=75kbps;
> > $RATE_USER1=60kbps;
> > $RATE_USER2=12kbps;
> > $RATE_USER3=3kbps;
> >
> >
> > dev $INTERFACE
> > {
> >   egress
> >   {
> > class (<$user1>) if ip_src == 192.168.0.2;
> > class (<$user2>) if ip_src == 192.168.1.2;
> > class (<$user3>) if ip_src == 127.0.0.1;
> >
> > htb ()
> >{
> >  class (rate $MAX, ceil $MAX)
> >  {
> >$user1 = class (rate $RATE_USER1, ceil $MAX) {sfq;};
> >$user2 = class (rate $RATE_USER2, ceil $MAX) {sfq;};
> >$user3 = class (rate $RATE_USER3, ceil $MAX) {sfq;};
> >}
> >   }
> >  }
> > }
> >
> >
> > The resulting tc-skript:
> >
> > tc qdisc del dev ippp0 root
> >
> > # === Device ippp0 
> > 
> >
> > tc qdisc add dev ippp0 handle 1:0 root dsmark indices 4 default_index 0
> > tc qdisc add dev ippp0 handle 2:0 parent 1:0 htb
> > tc class add dev ippp0 parent 2:0 classid 2:1 htb rate 9375bps ceil 9375bps
> > tc class add dev ippp0 parent 2:1 classid 2:2 htb rate 7500bps ceil 9375bps
> > tc qdisc add dev ippp0 handle 3:0 parent 2:2 sfq
> > tc class add dev ippp0 parent 2:1 classid 2:3 htb rate 1500bps ceil 9375bps
> > tc qdisc add dev ippp0 handle 4:0 parent 2:3 sfq
> > tc class add dev ippp0 parent 2:1 classid 2:4 htb rate 375bps ceil 9375bps
> > tc qdisc add dev ippp0 handle 5:0 parent 2:4 sfq
> > tc filter add dev ippp0 parent 2:0 protocol all prio 1 tcindex mask 0x3 
> > shift 0
> > tc filter add dev ippp0 parent 2:0 protocol all prio 1 handle 3
> > tcindex classid 2:4
> > tc filter add dev ippp0 parent 2:0 protocol all prio 1 handle 2
> > tcindex classid 2:3
> > tc filter add dev ippp0 parent 2:0 protocol all prio 1 handle 1
> > tcindex classid 2:2
> > tc filter add dev ippp0 parent 1:0 protocol all prio 1 u32 match u32
> > 0xc0a80002 0x at 12 classid 1:1
> > tc filter add dev ippp0 parent 1:0 protocol all prio 1 u32 match u32
> > 0xc0a80102 0x at 12 classid 1:2
> > tc filter add dev ippp0 parent 1:0 protocol all prio 1 u32 match u32
> > 0x7f01 0x at 12 classid 1:3
> >
>
>

First of all, I am new to tc and QOS as well, but I will try my best
to give a hand.
>From what little I understand, yours should work, but you might also
give this a try since you already seem to have all the required apps
installed.

Earlier this week, I started using tc to do shaping on my network.
I came across a great resource:
www.lartc.org
The article I am referencing is:
http://www.lartc.org/howto/lartc.cookbook.fullnat.intro.html

One of the main differences between this setup and yours is in the host's setup.
Instead of declaring a host for the server, it defaults all traffic to
the lowest class, and discriminately boosts the priority of certain
hosts, protocols, destinations, etc using iptables.

Here is a quick excerpt:
He recommends using 75% of your max bandwidth to prevent excess lag.

CEIL=75
tc qdisc add dev ippp0 root handle 1: htb default 12
tc class add dev ippp0 parent 1: classid 1:1 htb rate ${CEIL}kbit ceil
${CEIL}kbit
tc class add dev ippp0 parent 1:1 classid 1:10 htb rate 60kbit ceil
${CEIL}kbit prio 0
tc class add dev ippp0 parent 1:1 classid 1:11 htb rate 12kbit ceil
${CEIL}kbit prio 1
tc class add dev ippp0 parent 1:1 classid 1:12 htb rate 3kbit  ceil
${CEIL}kbit prio 2

tc filter add dev ippp0 parent 1:0 protocol ip prio 1 handle 1 fw classid 1:10
tc filter add dev ippp0 parent 1:0 protocol ip prio 2 handle 2 fw classid 1:11
tc filter add dev ippp0 parent 1:0 protocol ip prio 3 handle 3 fw c

snmp: eth0 opertaionally down

2005-10-27 Thread Grant Thomas
Hello all and thanks for the help.

I am using MRTG to monitor and archive bandwidth usage on my router's
ethernet ports. However, I have run into a problem with eth0 reporting
as down.

when I do the following command:
snmpwalk -v 2c -c community localhost interface

the following values are returned, which are incorrect.

IF-MIB::ifSpeed.2 = Guage32: 0
IF-MIB::ifOperStatus.2 = INTEGER down (2)

However the MAC address shows correctly,
ifInOctets has a value of 1601527752
ifOutOctets has a value of 2823843372
ifAdminStatus is correct at up (1)

I think this means that even though snmp / the system is showing eth0
operationally down, it is still keeping tabs on the passed data.

ifconfig doesn't show any obvious points to investigate, and the
router is currently running without any problems.

I have tried to use snmpset to manually set the speed and status, but
both values are not writable(I did use a rwcommunity account).
I have brought eth0 down, and then back up, but it does no good.

It may also be worth mentioning that at first eth0 was reporting
ifAdminStatus as down (2)
But when I took it down and back up it has shown correctly, and has ever since.

I am reluctant to bring the reboot the router, as it is used by our
operation 24x7

Please advise. I have looked online, but can't find any solutions.
Again, I thank you all for any help anyone can provide.



Problems with IP address change

2005-11-23 Thread Grant Thomas
Hello all, and thanks for any help in advance.

The problem I am having today is dealing with changing the external IP
address of a router / firewall.

To change the IP address, I edited the /etc/network/interfaces file,
and changed the address from xx.xx.97.99 to xx.xx.97.100
Then I ran the following:
ifdown eth0
ifup eth0
ifconfig

ifconfig shows the correct address of xx.xx.97.100

I thought all was well.
When I go to any site, the address is still reported as xx.xx.97.99
I have tried rebooting the machine, but to no avail.

A little background would be helpful.

This machine is a firewall / router, used for a network of about 30 users.
The firewall is iptables, and is runnint tc for traffice control.
The machine is also the dhcp and dns server.

The external interface, eth0, is connected by ethernet to a T1.
The T1 is accessed through a Cisco router.

In addition to this, something else happened on an ip address change,
after the reboot.

I changed the address from 97.99 to 97.100, and the machine would see
its gateway, 97.97.
It would not pass any packets past that however.
Once I changed the address back to 97.99 packets started passing no
problem, and I didn't reboot the machine either.

Now, if I change the ip address back to 97.100, the internal network
can access the internet with no problem, but the router has extrememly
high latency pinging, etc.

Thinking it could be an ARP problem, I also restarted the Cisco
router, but to no avail.

I have checked the iptables configuration, as well as the tc
configuration. Neither of these files references the specific 97.99
address, refering to the port as eth0 instead.



Any help would be greatly appreciated.
Thank you all so much.



snmp: operationally down

2005-11-23 Thread Grant Thomas
Hello all and thanks for the help.

I am using MRTG to monitor and archive bandwidth usage on my router's
ethernet ports. However, I have run into a problem with eth0 reporting
as down.

when I do the following command:
snmpwalk -v 2c -c community localhost interface

the following values are returned, which are incorrect.

IF-MIB::ifSpeed.2 = Guage32: 0
IF-MIB::ifOperStatus.2 = INTEGER down (2)

However the MAC address shows correctly,
ifInOctets has a value of 1601527752
ifOutOctets has a value of 2823843372
ifAdminStatus is correct at up (1)

I think this means that even though snmp / the system is showing eth0
operationally down, it is still keeping tabs on the passed data.

ifconfig doesn't show any obvious points to investigate, and the
router is currently running without any problems.

I have tried to use snmpset to manually set the speed and status, but
both values are not writable(I did use a rwcommunity account).
I have brought eth0 down, and then back up, but it does no good.

It may also be worth mentioning that at first eth0 was reporting
ifAdminStatus as down (2)
But when I took it down and back up it has shown correctly, and has ever since.

I am reluctant to bring the reboot the router, as it is used by our
operation 24x7

Please advise. I have looked online, but can't find any solutions.
Again, I thank you all for any help anyone can provide.



Re: Problems with IP address change

2005-11-25 Thread Grant Thomas
On 23 Nov 2005 23:07:56 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Are you sure you are not natting / snatting / dnatting incorrectly?
> also check "cat /proc/sys/net/ipv4/ip_forward" and it should return 1.
> if not, echo 1 >/proc/sys/net/ipv4/ip_forward.
>

Forwarding is working correctly, all 30 or so users are getting out to
the internet, and using a very connection sensitive CMMS system.

> Also check routing tables, do you have multiple tables?
>

I'm not familiar on how to check the routing tables.
Would this be in the Debian guide?

> Kegan Holtzhausen
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>



Re: Problems with IP address change

2005-11-25 Thread Grant Thomas
On 11/23/05, John covici <[EMAIL PROTECTED]> wrote:
> This is sort of a shot in the dark, but in our router config it may
> mention the address somewhere -- do you have any static nat's i.e ip
> nat static ... for port forwarding?

>From what I remember, I am using source nat'ing.
But I am using port forwarding.
Both of those reference eth0, not the ip address.

> Hope this helps.
>
> on Wednesday 11/23/2005 Grant Thomas([EMAIL PROTECTED]) wrote
>  > Hello all, and thanks for any help in advance.
>  >
>  > The problem I am having today is dealing with changing the external IP
>  > address of a router / firewall.
>  >
>  > To change the IP address, I edited the /etc/network/interfaces file,
>  > and changed the address from xx.xx.97.99 to xx.xx.97.100
>  > Then I ran the following:
>  > ifdown eth0
>  > ifup eth0
>  > ifconfig
>  >
>  > ifconfig shows the correct address of xx.xx.97.100
>  >
>  > I thought all was well.
>  > When I go to any site, the address is still reported as xx.xx.97.99
>  > I have tried rebooting the machine, but to no avail.
>  >
>  > A little background would be helpful.
>  >
>  > This machine is a firewall / router, used for a network of about 30 users.
>  > The firewall is iptables, and is runnint tc for traffice control.
>  > The machine is also the dhcp and dns server.
>  >
>  > The external interface, eth0, is connected by ethernet to a T1.
>  > The T1 is accessed through a Cisco router.
>  >
>  > In addition to this, something else happened on an ip address change,
>  > after the reboot.
>  >
>  > I changed the address from 97.99 to 97.100, and the machine would see
>  > its gateway, 97.97.
>  > It would not pass any packets past that however.
>  > Once I changed the address back to 97.99 packets started passing no
>  > problem, and I didn't reboot the machine either.
>  >
>  > Now, if I change the ip address back to 97.100, the internal network
>  > can access the internet with no problem, but the router has extrememly
>  > high latency pinging, etc.
>  >
>  > Thinking it could be an ARP problem, I also restarted the Cisco
>  > router, but to no avail.
>  >
>  > I have checked the iptables configuration, as well as the tc
>  > configuration. Neither of these files references the specific 97.99
>  > address, refering to the port as eth0 instead.
>  >
>  >
>  >
>  > Any help would be greatly appreciated.
>  > Thank you all so much.
>  >
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>  John Covici
>  [EMAIL PROTECTED]
>



Re: Problems with IP address change

2005-11-30 Thread Grant Thomas
On 29 Nov 2005 00:13:20 -0800, Kegan Holtzhausen <[EMAIL PROTECTED]> wrote:
> for routing info,
> # route
> [snip]
> # ip route
> [snip]
> see the src part... that sets my from address which is assigned..
>
> also check
> [snip]
> # ip addr
>
>
> Kegan Holtzhausen

Thanks for the pointers Mr. Holtzhausen, I have scanned the results of
the following commands, but have not found one instance of
xx.xx.97.99.

Again, I appreciate the help.

Here are the results of the commands
ip route
route
ifconfig
ip addr

**
ip route:
**

XX.XXX.97.96/27 dev eth0  proto kernel  scope link  src XX.XXX.97.100
10.13.10.0/24 dev tun0  scope link
199.30.30.0/24 dev eth1  proto kernel  scope link  src 199.30.30.1
10.10.10.0/24 dev tun0  scope link
default via XX.XXX.97.97 dev eth0

**
route:
**

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
XX.XXX.97.96*   255.255.255.224 U 0  00 eth0
10.13.10.0  *   255.255.255.0   U 0  00 tun0
199.30.30.0 *   255.255.255.0   U 0  00 eth1
10.10.10.0  *   255.255.255.0   U 0  00 tun0
default XX.XXX.97.970.0.0.0 UG0  00 eth0

**
ifconfig
**

eth0  Link encap:Ethernet  HWaddr 00:A0:C9:08:97:AE
  inet addr:XX.XXX.97.100  Bcast:65.255.255.255  Mask:255.255.255.224
  inet6 addr: fe80::2a0:c9ff:fe08:97ae/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:5669238 errors:0 dropped:0 overruns:0 frame:0
  TX packets:5054865 errors:30 dropped:0 overruns:0 carrier:30
  collisions:0 txqueuelen:1000
  RX bytes:361696166 (344.9 MiB)  TX bytes:919613248 (877.0 MiB)

eth1  Link encap:Ethernet  HWaddr 00:00:E8:53:38:4B
  inet addr:199.30.30.1  Bcast:199.30.30.255  Mask:255.255.255.0
  inet6 addr: fe80::200:e8ff:fe53:384b/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:5220709 errors:0 dropped:0 overruns:0 frame:0
  TX packets:5603927 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:950556673 (906.5 MiB)  TX bytes:375965980 (358.5 MiB)
  Interrupt:9 Base address:0x2400

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:4382 errors:0 dropped:0 overruns:0 frame:0
  TX packets:4382 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:722265 (705.3 KiB)  TX bytes:722265 (705.3 KiB)

tun0  Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  inet addr:1.1.1.1  P-t-P:1.1.1.1  Mask:255.255.255.255
  UP POINTOPOINT RUNNING  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

**
ip addr
**

1: lo:  mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc htb qlen 1000
link/ether 00:a0:c9:08:97:ae brd ff:ff:ff:ff:ff:ff
inet XX.XXX.97.100/27 brd 65.255.255.255 scope global eth0
inet6 fe80::2a0:c9ff:fe08:97ae/64 scope link
   valid_lft forever preferred_lft forever
3: eth1:  mtu 1500 qdisc htb qlen 1000
link/ether 00:00:e8:53:38:4b brd ff:ff:ff:ff:ff:ff
inet 199.30.30.1/24 brd 199.30.30.255 scope global eth1
inet6 fe80::200:e8ff:fe53:384b/64 scope link
   valid_lft forever preferred_lft forever
4: eth2:  mtu 1500 qdisc noop qlen 1000
link/ether 00:01:02:2b:45:9c brd ff:ff:ff:ff:ff:ff
5: sit0:  mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
6: tun0:  mtu 1500 qdisc pfifo_fast qlen 1000
link/[65534]
inet 1.1.1.1/32 scope global tun0