PDA

View Full Version : when updating...



ickler
01-16-2004, 09:29 AM
i change the directory to the showeq directory, and type what the FAQ tells me, and i get the following error (but some still appears to be updating)


cvs -z3 update

update:warning failed to open /home/nick/.cvspass for reading: No such file or directory
cvs server: Updating .
cvs server: Updating conf
cvs server: Updating doc
cvs server: Updating maps
cvs server: Updating src


im using mandrake 9.2, do i need to create a directory calls .cvspass? or is there something wrong. because when i start up ShowEQ it doesnt do/show anything, just sits there with blank stats. and my hub is a 10/100 5 Port network hub (i checked all over the box to make sure it was a true hub, and not just a switch hub, and it says nothing about bieng anything less then a Hub) and nothing appears to be wrong with it

i know this could be a variety of things but since thats the only error i got on the intire installation im gonna start with that

Dedpoet
01-16-2004, 09:59 AM
Did you use cvs to get the original program, or did you download a tarball? If you have never done a cvs checkout, you can't do a cvs update, because update is looking for information from the checkout in that .cvspass file. You could also be in the wrong directory. Are you in the directory where you did the original checkout? It's /seq for most who followed the FAQ or walkthrus.

You could always wipe it and start over with a fresh cvs checkout or a fresh download of the latest tarball. If you have a decent connection, it's quick and painless. I think the tarball is only about 2.5 meg.

Edit: Also tell us what the terminal window says when you start the program. It should report a version number as well as some other helpful information.

S_B_R
01-16-2004, 10:05 AM
The question I have for you is, did SEQ work the past, and now since you tried to update it's not working? or has it never worked?

ickler
01-16-2004, 11:22 AM
no, i used the mandrake 9.2 newbie guide posted recently in the forum last night to install SEQ and it runs but nothing comes up. i used the cvs to download it, and in the FAQ it says to use directory show eq, but since i used the walkthrough i think it should be in seq instead (to get to the show eq directory i had to go through seq), so ill try updating in the seq directory tonight. if that doesnt work i will be back, thanks.

S_B_R
01-16-2004, 01:08 PM
I'm not sure I understand, but if this is a brand new install, and SEQ comes up at all means it's not a problem with your CVS. There hasn't been any updates to CVs in the last few weeks, so any install done since then won't need any updates....Because there are none....

ickler
01-16-2004, 04:07 PM
yes this is a completley new install, i used this code to install it


mkdir seq
cd seq
cvs -z3 -d:pserver:[email protected]:/cvsroot/seq co showeq
cd showeq
cvs update -P
make -f Makefile.dist
./configure
make
su

## Note: you will be prompted for a password, enter your root password ##

make install


i start EQ and load completley into the world, then i start ShowEQ on the linux box and nothing comes up, the map is blank besides the axis and all the stats are empty and no character is loaded (bottom left window thing)

=/ any ideas if its not the update problem?

ickler
01-16-2004, 04:13 PM
also, this is the hub i am using

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3071227865&category=11179

Cryonic
01-16-2004, 04:43 PM
Two things

1) You are starting SEQ too late in the process
Login to EQ, choose your server
start SEQ
now login to the world

2) Your hub may not be a true hub. Have you tested to see if you can even see the EQ packets on the linux box (test with tcpdump).

ickler
01-16-2004, 06:03 PM
started SEQ earlyer and that doesnt do it

im not familure with tcpdump, is there any other way i can check to be sure? (i read the entire manual and it says its a hub, and doesnt say anything about bieng a switch hub)

S_B_R
01-17-2004, 02:33 AM
On the SEQ/Linux box in a terminal window:

tcpdump -i eth0 -n | grep 192.168.1.1where 192.168.1.1 is the IP address of your EQ/Windows Box. then Launch EQ and see if anything comes up in the terminal window.

ickler
01-17-2004, 03:06 AM
ok gonna try that now, any way to check the ip of the linux box in the terminal? like the windows comand ipconfig, because of the hub and router im not completley sure what it is.

ickler
01-17-2004, 03:14 AM
its also saying the command tcdump doesnt exsist

ickler
01-17-2004, 03:46 PM
i installed tcpdump, still saying command doesnt exsist

Dedpoet
01-17-2004, 04:48 PM
any way to check the ip of the linux box in the terminal?

ipconfig -a

That will tell you everything you want to know about your ethernet interfaces. eth0 is most likely the one you care about, unless you have multiple network cards in your box. You may see something about a loopback address. RedHat calls is "lo", other distributions may call it something else. That wil say 127.0.0.1. Don't worry about the loopback.

Cryonic
01-17-2004, 09:25 PM
ipconfig is the windows command
ifconfig on *nix OSes

tcpdump is a root only command, so it is in /sbin or /usr/sbin and so is not in the path of a normal user.

Dedpoet
01-18-2004, 01:38 AM
Ack...I can't believe I did that. Sorry, ickler, and thanks Cryonic. No more answering questions drunk. "ifconfig -a" will give you your IP address.

ickler
01-18-2004, 02:05 AM
ifconfig is working, but the command tcpdump is still not working... i installed and everything =/

ickler
01-18-2004, 02:05 AM
edit: double post

also, i have my 5 port hub plugged into a router (router has wirless computers i dont want to unplug for SEQ), i heard because im using a hub i may need another IP adress form my ISP or something? (guy at store) i dunno any help would be great

tunakermit
01-19-2004, 10:20 AM
Hello,
Could you please post the output of the following commands:
echo $PATH
rpm -q tcpdump
ifconfig -a
id
ping <ip address of windows box>

Also, the guy at the store was right about the hub and multiple IPs. So long as the hub is plugged in behind the router, you'll be fine. Is the windows box that you play EQ on also connected on the hub? Are you able to get on the internet from the Linux box?

JC

S_B_R
01-19-2004, 10:59 AM
run
updatedbonce that finishes run
locate tcpdump that should tell you where tcpdump is installed at. it will probably be something like /usr/sbin/tcpdump. in that case the command I posted above would look like
/usr/sbin/tcpdump -i eth0 -n | grep 192.168.1.1 if the locate command returns more than one result, just try each one till you find one that works.

ickler
01-19-2004, 04:21 PM
to tunakermit:



[nick@localhost sbin]$ echo $PATH
/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/nick/bin
[nick@localhost sbin]$ rpm -q tcpdump
tcpdump-3.7.2-2mdk
[nick@localhost sbin]$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:6E:DD:1E:86
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:990 errors:0 dropped:0 overruns:0 frame:0
TX packets:1279 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:313023 (305.6 Kb) TX bytes:166142 (162.2 Kb)
Interrupt:9 Base address:0xb000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3176 errors:0 dropped:0 overruns:0 frame:0
TX packets:3176 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:346270 (338.1 Kb) TX bytes:346270 (338.1 Kb)

[nick@localhost sbin]$ id
uid=502(nick) gid=502(nick) groups=502(nick)
[nick@localhost sbin]$ ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
64 bytes from 192.168.1.100: icmp_seq=1 ttl=128 time=0.246 ms
/*this gets repeated over and over and over, just the icmp_seq=1
turns to icmp_seq=2 and it keeps adding one. also the time of
the packets vary*/


also, the way the router/hub are configured is as follows


CableModem
|
LinksysRouter
| |
| OtherComps
--Hub--
| |
EQ SEQ

S_B_R
01-19-2004, 05:01 PM
Here's part of your problem:
uid=502(nick) gid=502(nick) groups=502(nick)You need to be running SEQ as root and NOT nick. So either login as root, or use the su command:
su -you'll be prompted to enter the root password.

Also that's why you can't run tcpdump, you need to be root for that as well.

ickler
01-19-2004, 05:07 PM
yea i just got that, i logged in as root to run tcpdump, do i need to log into root as a graphical user to be able to run SEQ (i have an icon for it) or do i just login as regular and use the konsole to login as root and then execute ShowEQ from there

ickler
01-19-2004, 05:10 PM
also, im listening and im getting packets, how do i determine which are EQ packets and which are just regular ones (ex: im noticing ones that have seq.sourceforge.net and timestamps, because im writing and viewing these fourms as its listening). so which are EQ packets? any way to determine?

something like this be EQ packets?
15:13:22.140552 192.168.1.1.1901 > 239.255.255.250.1900: udp 313

tunakermit
01-20-2004, 08:50 AM
You don't have to login as root to run showeq, I just setuid mine to root and I can run it as myself:

Edit: Run the following commands as root
chmod u+s /usr/local/bin/showeq (or whereever you have it installed)
chown root:root /usr/local/bin/showeq

Once that's done, you can run showeq as any user, and showeq will run as root.

JC

ickler
01-20-2004, 07:07 PM
did what you said, heres what i got: (i started running when i got to server select screen on the EQ box, didnt work, closed, restarted, didnt work, restarted after i had zoned once, didnt work)



[nick@localhost nick]$ /usr/local/bin/showeq
Using config file '/usr/local/share/showeq/showeq.xml'
Loaded preferences file: /usr/local/share/showeq/seqdef.xml!
Unable to open file: /usr/local/share/showeq/showeq.xml!
ShowEQ 4.3.19, released under the GPL.
SINS 0.5, released under the GPL.
All ShowEQ source code is Copyright (C) 2000-2003 by the respective ShowEQ Developers
ShowEQ comes with NO WARRANTY.

You may redistribute copies of ShowEQ under the terms of
The GNU General Public License.
See: http://www.gnu.org/copyleft/gpl.html for more details...

For updates and information, please visit http://seq.sourceforge.net/
ShowEQ 4.3.19, Built from 'main.cpp' on Jan 15 2004 at 21:31:04
CVS: $Id: main.cpp,v 1.33 2003/10/25 00:20:59 dohpaz Exp $
Using GCC version: 3.3.1
Using glibc version: 2.3
Using Qt version: 3.1.2
Using headers from linux version: 2.4.22
Using EQItemDB: @(#) $Id: itemdb.cpp,v 1.10 2003/10/25 00:20:59 dohpaz Exp $
Using GDBM: This is GDBM version 1.8.0, as of May 19, 1999.
Running on Linux release 2.4.22-10mdk for processor i686

Spells::Spells(): Failed to open: '/usr/local/share/showeq/spells_us.txt'
Listening for first client seen.
Initializing Packet Capture Thread:
Filtering packets on device eth0, searching for EQ client...
Loading filters from '/usr/local/share/showeq/filters.conf'
Loading Filter File: /usr/local/share/showeq/filters_unknown.conf
GuildMgr: WARNING - could not load guildsfile, /usr/local/share/showeq/guilds2.dat
Categories Reloaded
Error opening map file '/usr/local/share/showeq/unknown.map'!
Error opening exp.log, no exp will be logged this session
EQInterface::loadFormatStrings(): Failed to open '/usr/local/share/showeq/eqstr_us.txt'

(this was after i ran the chmod u+s and chown, also ran it as root using 'su', also it just sat that after the previous was displayed, didnt go to the next command line, just sat htere, until i closed it)

and anyone look at my packet example, still not sure how to locate which packets are EQ packets running tcpdump. thanks

tunakermit
01-22-2004, 04:16 PM
First, for your question about the tcpdump output, here's how to read it:


15:13:22.140552 192.168.1.1.1901 > 239.255.255.250.1900: udp 313

The 15:13:22.140552 is a timestamp, the current system time when this packet was captured.
192.168.1.1.1901 is the source of this packet, my guess would be from your router (192.168.1.1), and it's the 1901st packet in a sequence.
239.255.255.250.1900 is the destination of the packet, responding to the 1900th packet in a sequence.
udp 313 is telling you that it's transmitting a udp protocol packet, and it's talking on port 313.

As for what would be an EQ packet, it would be udp, but I'm not sure what port EQ uses to talk. Either someone else who know's off the top of their head can let you know, or the next time I hop on I'll take a look and let you know.

Now on to your errors. First, let's take care of the warnings, they probably are not the problem, but it'll clean up the output a bit.
- Make sure that the directory /usr/local/share/showeq exists: ls -ld /usr/local/share/showeq If it doesn't, create this directory as root.
- Copy the files spells_us.txt, guilds2.dat, and eqstr_us.txt from your EQ directory to /usr/local/share/showeq directory on your Linux box. If you're not sure how to move the files, I would recommend you look at the Samba project at http://www.samba.org. Take a look at the documentation for smbclient.
- Make sure that the maps exist on your Linux box: ls -la /usr/local/share/showeq/*.map If you get a long listing of different zones, you're good, otherwise you'll need to get the maps.
- Double check that you're seeing packets from your Windows box on your Linux box(after you've started EQ): As root: tcpdump -i eth0 host 192.168.1.100 (assuming this is the IP of your Windows box.)

Post back if anything odd happens with any of these commands.

JC