File size: 41,919 Bytes
4aa5fce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
=== JackyAlcine is now known as Guest12458
=== webjadmin is now known as JackyAlcine
[02:30] <Sekm> Q! what happens if I've had my sudoers replaced with another one and now no account can access it?
[02:36] <IdleOne> Sekm: see http://www.psychocats.net/ubuntu/fixsudo
[03:23] <Sekm> IdleOne: Thanks for that man, all sorted now
[03:23] <IdleOne> sure thing, glad it helped
[03:23] <IdleOne> Now stop messing with the sudoers
[03:23] <IdleOne> :)
[03:23] <Sekm> DONE
[03:24] <Sekm> oh, and you wouldn't happen to know how i could optain a list of packages i can download with apt-get would you?
[03:24] <IdleOne> umm a full list? there are over 25000 of them
[03:24] <Sekm> mhm... i just want to grep the mysql ones
[03:25] <IdleOne> apt-cache search mysql*
[03:25] <pedro3005> apt-cache search <name>
[03:25] <Sekm> oh wow thanks
[03:25] <IdleOne> that should give you a long list
[03:25] <Sekm> okay it did...
[03:26] <Sekm> but it gave me what i needed, thanks!
[03:27] <IdleOne> you should be able to redirect searches to a file if you really want to. apt-cache search <term> > ~/Desktop/searches.txt
[03:28] <Sekm> oh yea, cool cool
[03:28] <Sekm> does > put it to a file, and >> appended it if the file exists?
[03:28] <IdleOne> that will put the results in a text file on your Desktop but not sure you really need to
[03:29] <IdleOne> yup
[03:29] <Sekm> naw im just setting up automated configurations for servers, but learning linux simultaneously
[03:29] <IdleOne> excatly
[03:29] <IdleOne> exactly*
[03:30] <IdleOne> actually, no it overwrites the file
[03:30] <Sekm> ah yep, kay, good to know O_O
[03:31] <IdleOne> not sure how you would append to it.
[03:31]  * IdleOne is bad with bash :(
[03:35] <Unit193> >> does append (Let me try just to make sure)
[03:36] <IdleOne> it didn't for me
[03:36] <Unit193> It just did for me >_>
[03:37] <IdleOne> hmm
[03:37] <IdleOne> let me try again
[03:38] <IdleOne> lol yes it does. I just remembered that I deleted the file it created the first time before trying »
[03:38] <IdleOne> err > >
[03:38] <IdleOne> stupid auto replace
[03:39] <IdleOne> >> there we go
[04:47] <philipballew> is rsa keys necessary for ssh in your guys and girls opinion?
[04:51] <bioterror> are you talking about creating ssh keys?
[04:53] <akshatj> no lesser than 4096 bits ;D
[04:53] <bioterror> akshatj, did you hear about RSA SecurID's? :D
[04:53] <bioterror> RSA is going to change couple of SecurID tokens :D
[04:53] <philipballew> yeah. i was comntemplating setting up ssh on my desktop with eather a password or keys
[05:08] <sphika> hello
[05:11] <sphika> I recently had an issue with a video streaming software called veetle, so I decided to upgrade to the latest version to see if that would fix my problem. I ran "sudo sh" to install the program. Since then I have experienced a variety of issues, including, my ICEauthority can't be updated, the sound control can no longer communicate with the sound device, and I don't have the permissions to save files in gimp. Can anyone help me?
[05:20] <holstein> sphika: what did you install and how?
[05:20] <holstein> where did you get it
[05:21] <sphika> veetle -- it is a video streaming software. basically like a youtube player but through a specific company. I got it directly from their website.
[05:21] <akshatj> GUI app?
[05:21]  * holstein is on the site
[05:21] <sphika> I used the command sudo sh to install the file
[05:21] <holstein> sphika: what *exactly* did you get
[05:21] <sphika> no it isnt, it was through the console
[05:21] <sphika> you mean the filename?
[05:22] <holstein> however you would like to convey to me exactly what you got and where you got it from
[05:22]  * holstein is looking at http://www.veetle.com/index.php/download
[05:22] <holstein> i see 2 linux options
[05:22] <holstein> 4 actually
[05:23] <holstein> you got the client im assuming
[05:23] <holstein> and im assuming you DL'd the 'linux self contained installer'
[05:23] <sphika> yeah the .sh file that pops up
[05:24] <holstein> veetle-0.9.17-linux-install.sh ??
[05:24] <sphika> exactly
[05:25] <holstein> OK, so you ran sudo veetle-0.9.17-linux-install.sh in a terminal
[05:25] <holstein> what output did you get?
[05:25] <sphika> well, basically it came up like a text based installer
[05:25] <holstein> right... any errors?
[05:25] <sphika> and i was going through the user agreements quickly, and didn't realize until afterwards that it said they recommend against installing as root
[05:26] <philipballew> !ssh
[05:26] <ubot2> SSH is the Secure SHell protocol, see: https://help.ubuntu.com/community/SSH for client usage. PuTTY is an SSH client for Windows; see: http://www.chiark.greenend.org.uk/~sgtatham/putty/ for it's homepage. See also !scp (Secure CoPy) and !sshd (Secure SHell Daemon)
[05:27] <sphika> which I assume I did as I used sudo to install
[05:27] <holstein> sphika: is there a support channel for it?
[05:27] <sphika> on freenode? I didn't look I guess.
[05:28] <holstein> i mean, without just breaking something here the same way, im not sure how i can help
[05:28] <holstein> it seems likely that this is the cause though
[05:28] <sphika> okay, well, thank you
[05:29] <holstein> sphika: i would say, try and look in the file
[05:29] <holstein> see what gets copied where
[05:30] <holstein> sphika: how do they say to uninstall?, and have you tried that?
[05:33] <sphika> holstein, yes, I tried to uninstall. it didn't seem to work.
[05:33] <sphika> the message it gives is "You are running this script as root. Veetle recommends against installing
[05:33] <sphika> on the superuser account. We suggest you press <Control-C> now and reinstall
[05:33] <sphika> on the user account you typically use to run Firefox or Mozilla.
[05:33] <sphika> "
[05:33] <holstein> sphika: another thing i would do before freaking out and reinstalling is to add a new user, and see how that user account seems
[05:34] <holstein> sphika: but you already installed sudo correct?
[05:34] <holstein> as sudo* as root ??
[05:34] <holstein> if you sudo installed, i would try sudo uninstalling
[05:35] <sphika> holstein, correct. you have to press enter to get through the EULA (repeatedly) and I skipped past that warning as a result
[05:35] <holstein> :/
[05:35] <sphika> yeah, pretty stupid of me.
[05:36] <holstein> http://www.dslreports.com/forum/r24634386-Heads-up-with-Veetle-and-Ubuntu-10.04
[05:36] <holstein> sphika: hey, it happens... now you know :)
[05:36] <holstein> I sudo chown'd the dir back to me, did a reboot, and PRESTO, no ICEauthority error, the volume buttons on my keyboard worked as well as the icon
[05:36] <holstein> ^^
[05:36] <holstein> that post is relevant for sure
[05:37] <sphika> yeah
[05:37] <sphika> now uh..
[05:37] <sphika> that whole chown thing, hows that work?
[05:37] <holstein> !chown
[05:37] <ubot2> An explanation of what file permissions are and how they can be manipulated can be found at https://help.ubuntu.com/community/FilePermissions
[05:38] <holstein> cool... basically, permissions are messed up
[05:38] <holstein> things that your user used to have permission to access, now it cannot
[05:38] <holstein> and thats actually not a big deal to fix
[05:39] <sphika> ah i see
[05:39] <holstein> sphika: you can totally get back from this without reinstalling
[05:41] <sphika> well, so I basically run: chown root:root blahblah/.veetle ?
[05:41] <holstein> sphika: well, thats the idea
[05:41] <holstein> but i think you'll need to reclaim your own home directory
[05:41] <sphika> ah
[05:42] <holstein> *from that post "I checked the ownership of my home directory, and yep, it belonged to some other owner, with no name, just an id.
[05:42] <sphika> so chown root:root /home/ ?
[05:43] <holstein> i think its more like sudo chown sphika:sphika /home/spika
[05:43] <holstein> sphika: but feel free to wait on a 2nd opinion
[05:43] <sphika> gotcha
[05:43]  * holstein looking
[05:44] <holstein> yeah, you might need the -R flag... lemme look some more
[05:44] <sphika> trying that + restart
[05:44] <sphika> oh oka
[05:45] <holstein> yeah, -R is recursive
[05:45] <holstein> thats what you want SO...
[05:45] <holstein> sudo chown -R sphika:sphika /home/sphika
[05:46] <holstein> then, in theory, you reboot, and Robert is your mother's brother
[05:46] <sphika> chown: cannot access `/home/sphika/.gvfs': Permission denied
[05:47] <sphika> "I found the solution. Actually I ran the script as root. As per the forums of veetle if we run as root the permission of home directory changes to user id 1016 as I mentioned above. Running the script as normal user solves the problem"
[05:48] <holstein> sphika: OH... cool... so you are good now?
[05:49] <sphika> nope. just showing you something I found.
[05:49] <holstein> yeah, that installer is jive
[05:49] <sphika> it gave that output
[05:50] <holstein> sphika: so, make sure the .sh is executable
[05:50] <holstein> and run that as normal user
[05:50] <holstein> and maybe that fixes everything it broke :)
[05:51] <sphika> okey dokey. trying that.
[05:52] <holstein> well, video playback is smooth for me at least.. in chromium
[05:55] <sphika> holstein, it is fixed. you are god-tier. thank you.
[05:55] <holstein> sphika: COOL :)
[05:56] <sphika> you got about 50 karma points my friend.
[06:38] <philipballew> if i have dynamic ip's and i want ssh. i installed and configured my ssh server but how do i connect now?
[06:39] <bioterror> ssh user@computer
[06:39] <bioterror> ssh user@hostname
[06:40] <bioterror> ssh [email protected]
[06:40] <bioterror> if you have same username in both places
[06:40] <bioterror> then you can just ssh host
[06:41] <philipballew> well like i have ddns from no-ip.com and i configured that with ddwrt on my router and it is monitering my external ip address. but how is it gonna know what computer on my network to connect to
[06:44] <bioterror> make port forward
[06:44] <bioterror> daaaa :D
[06:44] <bioterror> basic natting things
[06:46] <stlsaint> philipballew: why cant you jsut ssh@ipaddress?
[06:46] <philipballew> stlsaint, my ip address change pretty often
[06:47] <philipballew> dynamic
[06:47] <stlsaint> philipballew: so make it static
[06:47] <stlsaint> philipballew: the router can handle that
[06:47] <philipballew> that cost money from my isp?
[06:47] <stlsaint> philipballew: ??
[06:47] <stlsaint> o_O
[06:48] <philipballew> if i want to assign a static ip address to my house its a few bucks
[06:48] <stlsaint> philipballew: your router, which you say you have ddwrt on (which would suggest you knew abit more about routing), can assign your local area ip to the ssh protocol (IE: port forwarding)
[06:49] <stlsaint> philipballew: and on the server set it to static
[06:51] <philipballew> hum. i have port 22 open right now. yeah. im pretty good at networking. but not great
[06:51] <philipballew> stlsaint,
[06:52] <stlsaint> philipballew: yes its open cause you are using ssh (unles you change that conf, ssh uses 22 by default)
[06:52] <stlsaint> philipballew: just because its open doesnt mean you are forwarding ssh protocol to your server ip
[06:52] <philipballew> yeah. but I still need to figure out how to connect to my computer from a different network. sorry
[06:53]  * stlsaint facepalms!
[06:53] <stlsaint> philipballew: alright here me out man
[06:53] <philipballew> okay :)
[06:53] <stlsaint> philipballew: you need port forwarding
[06:53] <stlsaint> philipballew: google it ;)
[06:54] <stlsaint> philipballew: you will then be able to do ssh@ipaddress (from outside your network(
[06:54] <stlsaint> )
[06:54] <philipballew> withour ddns?
[06:54] <stlsaint> philipballew: you are going to forward ALL ssh request to your server ip
[06:54] <philipballew> no. i have 2 desktops i want to be able to ssh onto
[06:55] <philipballew> and ill do it from my laptop
[06:55] <stlsaint> philipballew: so why did you say you had a ssh server? when really you have two desktops!
[06:56] <stlsaint> philipballew: either way the end result is still the same
[06:56] <philipballew> because i installed openssh-server!
[06:56] <philipballew> :)
[06:56] <stlsaint> philipballew: you can set one desktop to use port 22 and another to use port 2222
[06:56] <philipballew> i change my ssh confile on one of them
[06:57] <stlsaint> philipballew: question, are you using keys or password authentication?
[06:57] <philipballew> do i just need to assign static local ip's still?
[06:57] <stlsaint> philipballew: yes on the system and in the router
[06:57] <philipballew> so let me tell you what i think i need to do and you say if its right
[06:57] <stlsaint> alrighty.....
[06:59] <philipballew> assign static ip's to my local computers. cennect to my router and set up port forwording to my desktop dor the applaction ssh. and when im on a different network i ssh@myddnsdomain
[06:59] <stlsaint> basically
[07:00] <stlsaint> few minor suggestions
[07:00] <philipballew> go for it
[07:00] <stlsaint> 1. Set up local ips on the desktops
[07:01] <stlsaint> 2. On each system configure ssh to use a different port (you really need to be using key authentication cause you WILL be attacked sooner or later!!)
[07:01] <philipballew> i have rsa keys on my laptop ready to transfer :)
[07:02] <stlsaint> 3. In the router setup port forwarding to each different ip address using the ports you assigned (ok will explain the keys later)
[07:02] <stlsaint> 4. Now your ddns points to your public address and it does not care that you have seperate ports unless you specify them
[07:03] <philipballew> this is messin with my brain.  this is how im gonna change to a static ip http://www.youtube.com/watch?v=2ZsVSVf-4mc&playnext=1&list=PL5CA85340745475CA
[07:03] <stlsaint> 5. So after setting up port forwarding and local ips you can do ssh -p 2222 philip@myddns or -p 22 for whichever system you want (i suggest just using the public ip address really though)
[07:04] <stlsaint> philipballew: BOOOOOO!!! You said you were good at networking!!!
[07:04] <philipballew> haha. what do you mean
[07:04] <philipballew> goods a ppretty relatove term
[07:05] <stlsaint> philipballew: dude static ip's and port forwarding are balls basic networking!!
[07:05] <stlsaint> philipballew: your the one who said "good" earlier!
[07:05] <stlsaint> philipballew: especially with having ddwrt on a router, its actually more complicated to install ddwrt on router than it is to use static and port forward
[07:06] <philipballew> i do physical networking myself mostly.I have had jobs installing say cat5 places/ so i know how networks work in that way
[07:06] <philipballew> ddwt took 10 seconds
[07:06]  * stlsaint <-----same with this guy!
[07:06] <stlsaint> EXACTLY!
[07:06] <philipballew> i decided to learn networking a few weeks ago. so im getting there
[07:06] <stlsaint> philipballew: really man if this is your first time, just go thru everything manually cause it wont be your last
[07:07] <philipballew> what do you mean manually?
[07:07] <philipballew> in what way?
[07:07] <philipballew> that can mean several things
[07:07] <stlsaint> philipballew: read everything on port forwarding and setting static ips, wait are all three your systems running linux?
[07:08] <philipballew> all run linux
[07:08] <stlsaint> ok whew
[07:08] <philipballew> windows is pretty lame if you ask me
[07:08] <philipballew> but thats just my opinion
[07:09] <stlsaint> philipballew: i can give you two documents that will explain the entire process: https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding
[07:10] <philipballew> alright
[07:10] <philipballew> ive been followong https://help.ubuntu.com/10.10/serverguide/C/openssh-server.html
[07:10] <stlsaint> philipballew: https://help.ubuntu.com/10.04/serverguide/C/network-configuration.html
[07:10] <stlsaint> ^^ ip address explained well
[07:10] <philipballew> this looks like a fun time
[07:10] <philipballew> :)
[07:11] <stlsaint> philipballew: oh yea, but when you come out of it you will be a freaking rock star!!!
[07:12] <stlsaint> philipballew: trust me i tried doing everything on my own before i found the ubuntu help docs!! Rough times man...rough times
[07:12] <philipballew> but your a better man now that youve seen the "documentation light"
[07:12] <stlsaint> philipballew: feel free to come back anytime, there are others here willing to help
[07:12] <stlsaint> ACK bioterror
[07:13] <philipballew> me and him talk sometimes
[07:13] <stlsaint> philipballew: i was a better man once i failed thousands of times!! lol
[07:13] <philipballew> i understand the feeling
[07:13] <philipballew> failure brings knowledge
[07:13] <stlsaint> philipballew: now i can setup ssh/port forwarding and keys in under 10 mins!
[07:14] <philipballew> how long did iy take you the first time?
[07:14] <stlsaint> philipballew: also if your interested in security might i invite you to try out denyhosts
[07:14] <stlsaint> philipballew: careful though as my first time using it i locked myself out of my server :D
[07:14] <philipballew> what is that
[07:15] <stlsaint> philipballew: well let me explain what might entice an attacker first,
[07:15] <philipballew> alright
[07:15] <stlsaint> philipballew: you are opening up a port on your network to the outside world, so if an attacker gets ahold of your public ipaddress, they are gonna see this open port and attack it
[07:16] <stlsaint> philipballew: i was getting attacked on my server from all over the world, china, bejing, san francisco, etc
[07:17] <stlsaint> philipballew: now of course with keys (and a little router work to prevent a ddos) they were unable to get into machine
[07:17] <stlsaint> philipballew: they all were using brute force dictionary attacks to guess my "root" password
[07:17] <stlsaint> philipballew: well i got tired of seeing these logs so i went with denyhosts
[07:17] <stlsaint> philipballew: denyhosts in a nutshell just blocks those ip's that attack me for a set period of time that i set
[07:18] <stlsaint> philipballew: i went with 7000000 secs ;)
[07:18] <philipballew> thats a long time!
[07:18] <philipballew> makes sence though
[07:18] <stlsaint> philipballew: yep
[07:18] <stlsaint> philipballew: you can tail the log and just watch the ip's get blocked left and right ;)
[07:19] <philipballew> i think tonight im gonna map out my network so i can see what my gateway is and what not so i can get everythong set up nicely
[07:19] <stlsaint> philipballew: you can also set to only allow certain ipaddress even access the network
[07:19] <philipballew> wow
[07:19] <stlsaint> philipballew: nmap/netcat is your best friend.....after google ;)
[07:19] <stlsaint> and netstat
[07:20] <philipballew> probably good for business
[07:20] <stlsaint> philipballew: yes but again be careful and read documentation, like i said i locked myself out the very first time but good thing the servers were right upstairs
[07:20] <philipballew> cant i just log into my router and see my gateway after i set it up
[07:20] <stlsaint> philipballew: you can see your gateway from terminal
[07:21] <stlsaint> ifconfig
[07:21] <philipballew> this is true
[07:22] <philipballew> where i live now the gateway/modem is also a wifi router
[07:22] <philipballew> att is kinda lime with their parts
[07:22] <stlsaint> philipballew: ssh is extremely versatile and useful man, no limits to what you can do with it
[07:23] <philipballew> haha. i need to figure out a way to have it go through 2 routers possibly
[07:23] <philipballew> ssh will help me though
[07:24] <stlsaint> philipballew: setup one router as router and another in "gateway" mode
[07:24] <stlsaint> well depending on what you are trying to do
[07:24] <philipballew> would that kill its wireless capability
[07:25] <stlsaint> one of them yea
[07:25] <stlsaint> well it will just forward whatever the first router is pushing out
[07:25] <stlsaint> so yes and now
[07:25] <philipballew> hum. id have to convince everybody else then to use my router who lives here then
[07:26] <stlsaint> philipballew: also for your preference you can probably just stick with setting the port in the ssh syntax: ssh -p 2222 philip@myddnsdomain and let the router do the rest
[07:26] <stlsaint> philipballew: why do you need ssh to go thru two routers?
[07:27] <stlsaint> unless you have too many folks and only one incoming connection
[07:27] <philipballew> the modem and router supplied vy my isp are in one physical unit at the house i live in
[07:28] <stlsaint> so you hook up routerA(isp) to routerB(personal)?
[07:28] <philipballew> phone line cat5out and router all in one
[07:28] <philipballew> yes i do
[07:28] <philipballew> yeah. its probably a bad isea
[07:28] <philipballew> idea
[07:28] <geirha> I'd set up B to be an access point, then everyone will go through router A.
[07:29] <stlsaint> as long as you have those two routers talkign correctly they will handle the ssh protocol forwarding
[07:30] <philipballew> stlsaint, yeah. the first router is kinda a lame router. but it can port forword
[07:31] <philipballew> geirha, access point in what way. I believe it already irt
[07:31] <philipballew> *is
[07:33] <geirha> philipballew: You turn off the dhcp server on it, then you connect the other router to it in one of the ethernet ports, instead of the uplink port. When someone connects to router B, they'll get ip from router A.
[07:33] <geirha> So you'll only have one layer of nat.
[07:34] <stlsaint> geirha: long time no speak, sup
[07:34] <philipballew> hum. looks do-able
[07:35] <stlsaint> very
[07:36] <philipballew> i need to figure this all out. as im pretty confused still
[07:36] <philipballew> haha
[07:36] <philipballew> heres port forwording on my first router http://portforward.com/english/routers/port_forwarding/2wire/2701HG-B/
[07:39] <stlsaint> coalwater: sup
[07:44] <s0f7_mach1n> o/ hi
[07:45] <coalwater> hi stlsaint , s0f7_mach1n and every body
[07:45] <philipballew> hello s0f7_mach1n
[07:45] <s0f7_mach1n> o/
[07:45] <coalwater> just woke up, need to take a shower and go to work, yay.. not lol
[07:46] <s0f7_mach1n> any one know how to change the time format in irssi?
[07:46] <coalwater> whats irssi
[07:46] <coalwater> o ok, irc client
[07:46] <s0f7_mach1n> coalwater: terminal based irc client
[07:47] <philipballew> coalwater, terminal irc
[07:47] <philipballew> beat me to it...
[07:47] <s0f7_mach1n> id like it to dow Y-M-D--h:m
[07:47] <coalwater> i dont know, maybe ull find something that lets u set the format, like %H:%M etc
[07:47] <coalwater> i never used it before
[07:47] <s0f7_mach1n> been lookin but no joy
[07:48] <s0f7_mach1n> coalwater: wat client u use
[07:49] <coalwater> it says 'timestamp_format = %H:%M '
[07:49] <coalwater> xchat
[07:51] <coalwater> s0f7_mach1n, dont know how much help this should be, http://www.irssi.org/documentation/settings#timestamp_format_
[07:52] <coalwater> brb, need to shower before i fall asleep again lol
[07:53] <stlsaint> s0f7_mach1n: sup
[07:54] <s0f7_mach1n> nvm facepalm
[07:54] <s0f7_mach1n> brb
[08:20] <coalwater> hm he didnt sound happy lol
[08:20] <coalwater> morning krusi
[08:20] <krusi> morning
[08:40] <Duck_> So... I'm going to be traveling with my new ubuntu netbook. Is there anything you would recommend to do for protection on open wireless networks?
[08:40] <Duck_> Should I set up a firewall or something
[08:48] <coalwater> ubuntu already has a firewall, 'ufw'
[08:48] <coalwater> !ufw
[08:48] <ubot2> Ubuntu, like any other Linux distribution, has firewall capabilities built-in. The firewall is managed using the 'ufw' command - see https://help.ubuntu.com/community/UFW | An alternative to ufw is the 'iptables' command - See https://help.ubuntu.com/community/IptablesHowTo | GUI frontends such as Gufw (GNOME)  and Guarddog (KDE Lucid and Maverick) also exist.
[08:48] <coalwater> anyway, need to run to work, be back in about an hour
[08:51] <krusi> don
[08:51] <krusi> don't enter passwords on unsecure pages/services etc.
[09:54] <coalwater> someone was asking about firewalls a bit ago, dont remember who, is he/she still here?
[09:55] <krusi> just left
[10:20] <kine_da> o/
=== robbmunson is now known as RobbMunson
[10:42] <coalwater> hi kine_da
[11:08] <Udonnome> can i use apt-get to install a driver?
[11:09] <bioterror> if its in a repository
[11:11] <Udonnome> ah,cant find it,maybe its not
[11:13] <stlsaint> bioterror: i can use yum to install a driver ;)
[11:14] <stlsaint> +1 yum
[11:26] <Udonnome> !yum
[11:26] <ubot2> Uh, don't you mean !apt ?
[11:38] <Udonnome> guys,if i use another linux distro,can i also install thet ubuntu software menager,it just seem very usefull to me :)
[11:40] <bioterror> what distro?
[11:40] <bioterror> which
[11:41] <bioterror> but USC is opensource, you can grab sources and compile it yourself if it doesnt exist already :D
[11:47] <E3D3> Hi, how can I disable the Shift+NumLock-shortcut ?
[11:47] <E3D3> I didn't see it in prefs > keyboards
[12:32] <s0f7_mach1ne> stlsaint
[14:14] <stlsaint> s0f7_mach1ne: yes
[14:16] <s0f7_mach1ne> how to display the user list on the right side of screen
[14:20] <stlsaint> script
[14:21] <stlsaint> s0f7_mach1ne: have at it: http://scripts.irssi.org/
[15:28] <s0f7_mach1n> test
[15:28] <Lemuel> +1
[15:28] <nlsthzn> fail
[15:29] <s0f7_mach1n> exit
[15:30] <stlsaint> new irssi users, gotta love'em :D
[15:30]  * nlsthzn strokes his x-chat and it purrrrrrrs back....
[15:31] <stlsaint> nlsthzn: boooooooo
[15:32] <nlsthzn> stlsaint: :p
[15:33] <akshatj> "No, I am not going to assist you in Fartville, stop the sockpuppeting already."
[15:53] <kristian-aalborg> how resource-intensive is LibreOffice?
[15:53] <kristian-aalborg> thinking of putting it on a P4 with 1.5 gigs of memory
[15:54] <bioterror> should work
[16:07] <holstein> libreoffice seems lighter weight than openoffice did to me
[16:07] <holstein> its no abiword...
[16:49] <Kimor> Hello - 2 newbie questions - 1) I have Jaunty installed, and I'd like to upgrade, but apparently I need to get an interim update for Karmic.  How can I upgrade to Karmic without reinstalling Linux?  2) When I print documents, black blocks replace characters randomly.  This is consistent with different fonts and file types.
[16:49] <Kimor> Any ideas?
[16:50] <holstein> Kimor: i would try the other ubuntu versions live, with that printer
[16:50] <Kimor> Well, I'd be happy to just update permanently - any suggestions on doing that?
[16:50] <holstein> if you are assuming upgrading will fix that issue... this should help you confirm that
[16:50] <Kimor> *nods*
[16:51] <Kimor> I'm guessing, but I'm not 100% sure.
[16:51] <holstein> personally, i would just backup my data, because you should do that anyways before upgrading, and just reinstall
[16:51] <holstein> you're talking about doing 2 distro upgrades at least
[16:51] <holstein> that could very well take 14 hours
[16:51] <Kimor> *nods*  I suppose that I could - I was just a little bit nervous about doing that because I had some issues installing it originally on this computer - I don't remember exactly what it is that I did in order to get the internet and sound working on here
[16:52] <holstein> AND, the repos are not active any longer for karmic, so, you'll have to be creative about it
[16:52] <Kimor> Fair enough, I suppose.   Do you think upgrading will help with the printer issue?
[16:52] <holstein> Kimor: again, reference the live CD's, and you should be able to determine how to get sound working, assuming it doesnt work out of the box
[16:52] <holstein> Kimor: i have no idea about the printer
[16:52] <Kimor> It doesn't - this is a rather odd laptop
[16:52] <Kimor> Alright
[16:52] <holstein> depends on who is making the driver
[16:53] <holstein> it very well could be the exact same driver you will be using
[16:53] <holstein> Kimor: is there a way to confirm its not a hardware problem with the printer?
[16:53] <holstein> does any other machine/OS use it successfully?
[16:53] <Kimor> Windows computers print to it fine
[16:53] <holstein> OK
[16:53] <Kimor> It's networked, if that changes matters
[16:54] <holstein> Kimor: i have forced other drivers in the past with decent success
[16:54] <holstein> i asssume you have googled?
[16:54] <Kimor> Yeah
[16:54] <Kimor> Nothing relevant came up
[16:54] <holstein> any active bugs?
[16:54] <Kimor> I didn't see any....
[16:54] <holstein> what is the printer?
[16:54] <Kimor> Lanier MP5000/LD205
[16:54] <holstein> and, if the printer was working, would you still want to upgrade?
[16:55] <Kimor> Probably, I guess
[16:55] <Kimor> I need to anyway
[16:55] <Kimor> For a variety of reasons
[16:55] <holstein> if so, then i say, go ahead and get the 10.04 live CD
[16:55] <holstein> and maybe the 11.04 live CD
[16:55] <holstein> try both of those and see
[16:55] <Kimor> *nods*  Alright.  Thanks!
[16:57] <holstein> if someone happens to notice Kimor come back
[16:57] <holstein> https://bugs.launchpad.net/ubuntu/+source/foomatic-db-engine/+bug/361772
[16:57] <ubot2> Ubuntu bug 361772 in gs-gpl "black squares appearing instead of some letters when printing" [Critical,Fix released]
[17:49] <DiegoTc> hi guys
[17:49] <DiegoTc>  someone has experienced with git?
[17:49] <DiegoTc>  someone knows where I can find the ~/.gitconfig file?
[18:53] <billinvegas> good morning
[18:53] <billinvegas> (or afternoon - depending where you're located)
[18:54] <E3D3> Hi. Ubuntu keeps me stupid because its always works 99,99 % perfect. Miss my excuses to crack, program, R.E., Learn etc. Thanks.
[18:54] <billinvegas> is it appropriate to ask a question or two about DNS in this channel?
[18:55] <holstein> billinvegas: i say ask... and you might at least get reffered somewhere helpful
[18:56] <billinvegas> ok - thanks.
[18:56] <billinvegas> I'm trying to install Zimbra on Ubuntu server 10.04 - install part is fine, BIND is refusing to start
[18:57] <billinvegas> I'm using Zimbra to replace an existing mail server - DNS records in place - current mail server is visible to the 'net
[18:58] <billinvegas> my question is: does the new machine need the same FQDN as the old one to function?
[18:58] <billinvegas> i.e. as long as the MX records point to an IP (WAN side of my firewall) the firewall does NAT and forwards SMTP to an internal IP address
[18:59] <billinvegas> if the original mail server is say "mail.mydomain.com" - can the Zimbra install be "zimbra.mydomain.com"?
[19:00] <billinvegas> DNS Records should still point the traffic to my WAN IP, and if I forward the packets to the new machine (with either the same internal IP, or different) it should, or should not have the same FQDN as the A record?
=== Maratich is now known as Maratich_afk
=== JasonOO is now known as JasonO
=== yofel_ is now known as yofel
=== Maratich_afk is now known as Maratich
[21:13] <charlie-tca> Anyone know how to make the Evoluent Vertical Mouse work with a ps/2 adapter?
[21:54] <E3D3> Hi, I installed & run a FTP file server as gEdit-plugin but don't no how to stop/exit it ?
[22:03] <holstein> E3D3: what is it?
[22:04] <holstein> E3D3: "pgrep _process_" then "kill -s 9 _pid from previous command_"
[22:04] <E3D3> I installed a plugin for gEdit to edit my site & dont no how to stop it
[22:05] <E3D3> Looks a little technical but assume I can make it easier to try that in my process explorer?
[22:08] <E3D3> holstein: Thanks, but also think I'm missing a more easy way. Ubuntu works to easy to learn much about the commands but I'll google it.
[22:14] <holstein> E3D3: i think kill is the command you are looking for
[22:18] <E3D3> holstein : Googling, read mannual & think I forget it afterward but I try to remember. Like to kill only the FTP server so needs its exact name. Bussy. Thanks
[22:18] <holstein> yeah.. the process id
[22:19] <E3D3> Its worked with kate, so I try again with the FTP-server (startup)
[22:19] <holstein> thats what pgrep "process" is for
[22:19] <holstein> sure.. go for it.. let me know when you are ready to kill that process :)
[22:20] <E3D3> We're heavy man ;-)
[22:25] <E3D3> Its hard to shift all that info before I can use it.
[22:29] <E3D3> Sorry man, don't see how pgrep can give me the id of its FTP-server plugin ?
[22:29] <E3D3> I dont need pgrep to kill gEdit
[22:31] <holstein> E3D3: what plugin are you using??
[22:31] <E3D3> FTP Browser
[22:31] <E3D3> pgrep doesn't recognize that name
[22:32] <E3D3> How can I see the id's of its children-processes
[22:32] <holstein> killing gedit does *not* kill the server?
[22:32] <E3D3> Don't know, but it the only thing I know to do . How to check ?
[22:34] <holstein> E3D3: well, i say run the command, and see if the server is still running
[22:34] <E3D3> I cant get the FTP dissappear
[22:35] <E3D3> If I open connection it always shows left it filemanager. No button to stop. Do you like to see the site from were i have the plugin.
[22:35] <holstein> dissappear?
[22:35] <holstein> fromthe window?
[22:36] <holstein> its a plugin right?
[22:36] <E3D3> Yes
[22:36] <holstein> you probably just hide or show it from within gedit
[22:37] <E3D3> It implied in a tab on the left. I can hide it but know nothing about the FTP status. Also I need that sidebar for other functions. Hiding does nothing.
[22:38] <holstein> where did you get the pluging?
[22:38] <E3D3> I search for the homepage because I'm bad in explain.
[22:38] <holstein> plugin*
[22:40] <E3D3> Here is the homepage of the plugin : http://www.webupd8.org/2009/11/gedit-ftp-plugin-edit-documents.html
[22:41] <holstein> i believe this would be the 'home page'
[22:41] <holstein> http://code.google.com/p/gedit-ftp-browser/
[22:41] <E3D3> Yes but screenshot is little different
[22:41] <E3D3> less buttons
[22:42] <holstein> well, i assure you webupd8 is not maintaining that package
[22:42] <holstein> i would email over at that google code link and ask :)
[22:42] <E3D3> I have 5 instead of 2 ontop of file-manager window but no exit or stop.
[22:44] <E3D3> Thanks for your kind help. I like keep trying on #Ubuntu but afraid to annoy. Also read its not secure so beter not tell to often
[22:44] <AlphaPsi> What are the differences for wubi and the full install with the partioning?
[22:44] <holstein> E3D3: you're not annoying anyone, you're just asking for help on ubuntu channels for non-ubuntu software
[22:45] <holstein> which is fine, but if you get tired of waiting, as the maintainers
[22:45] <holstein> AlphaPsi: you can uninstall ubuntu in the 'add remove programs' area of windows when you do a wubi
[22:45] <geirha> AlphaPsi: wubi is nice for trying it out, but the install is reliant on that windows is in working condition.
[22:45] <holstein> maybe a little speed is gained from a native install
[22:46] <AlphaPsi> What else can be gained from a native install?
[22:47] <holstein> AlphaPsi: you'll look cooler ;)
[22:47] <holstein> nah... i would think maybe stability, and speed
[22:47] <holstein> but i cant confirm that
[22:48] <AlphaPsi> Hmm
[22:48] <holstein> and like geirha says, if something happens to windows, it will likely break both
[22:48] <E3D3> holstein: I didn't know that. Sorry. Do you know a channel voor developing in Ubuntu were I can try to find people who use this plugin ?
[22:49] <holstein> E3D3: actually, that was the first i had heard about the FTP plugin... looks handy... maybe someone in your loco?
[22:49] <holstein> http://loco.ubuntu.com/
[22:50] <geirha> AlphaPsi: If you want to go "all in", do a native install. If you just want to try it and see if it might be a usable OS for you, go with wubi.
[22:50] <E3D3> holstein: loco ? The gEdit-plugins are maybe to good, to much bling-bling, I'm in love for the second time with old gedit
[22:51] <geirha> a wubi install can be converted to a native install, though the procedure isn't the easiest in the world.
[22:51] <wereveal> greetings, working on a new install of lucid (installed by others) trying to run apt-get update or aptitude update (only have cli) and keep getting errors regarding GPG and so far have not found a definitive answer via Google how to proceed. Without the update, I can't seem to install anything. It also mentions "not a bzip2 file" - long time Gentoo user so this is rather new to me.
[22:51] <E3D3> holstein: okay. Thanks Bye & Good Luck
[22:51] <holstein> E3D3: o/ :)
[22:52] <holstein> wereveal: what is the exact error message?
[22:52] <geirha> holstein: btw, regarding your initial answer to E3D3's answer. kill -9 is never good advice.
[22:52] <wereveal> The repository is not updated and the previous index files will be used.GPG error: http://security.ubuntu.com lucid-security Release: The following signatures were invalid: NODATA 1 NODATA 2 (Justin?)
[22:52] <wereveal> that is one of them
[22:53] <seidos> geirha: is there a preferred method to killing a process that refuses to stop?
[22:53] <geirha> holstein: http://stackoverflow.com/questions/690415/in-what-order-should-i-send-signals-to-gracefully-shutdown-processes/690631#690631
[22:54] <holstein> geirha: well, thats was actually following up an ear full i got recently
[22:54] <holstein> personally, i run sudo killall whatever
[22:58] <holstein> but, im trying to get some work done
[22:58] <holstein> it was suggested to me to suggest the kill -9 method
[22:58] <holstein> geirha: i'll be glad to book mark that link though, and share it when the time comes :)
[22:58] <seidos> how long should a process be allowed to run that doesn't stop from a sigterm?
[22:58] <geirha> seidos: As long as it takes
[22:58] <geirha> If it doesn't die from a TERM signal, there's either a serious bug in the application, or in the kernel.
[22:58] <escott> seidos, just keep throwing signals at it. at some point it will be listed as zombie, at which point it is dead and won't use any additional resources
[22:59] <seidos> !sigkill
[22:59] <ubot2> Factoid 'sigkill' not found
[23:02] <escott> seidos, just look at man kill and try some other signals
[23:03] <geirha> escott: the right approach is reporting a bug
[23:07] <E3D3> Sometimes my file-picker (nautilus) show all the (normally) hidden folders. How come & how to set it back ?
[23:12] <geirha> E3D3: ctrl+h toggles it
[23:13] <E3D3> geirha: Thanks, I try it.
[23:13] <E3D3> geirha: Yes, You made me really happy. It was so annoying
[23:15] <E3D3> geirha: Its hard to remember milions of shortcuts (or where are my notes.) This one I write on the wall
[23:16] <geirha> It's also accessible from the View menu. View -> Show hidden files (or something like that)
[23:16] <geirha> At least on Ubuntu 10.04
[23:16] <kristian-aalborg> hi all
[23:16] <E3D3> Didn't know were to look
[23:17] <E3D3> geirha: h = hidden files. Easier than Alt+. in Dolphin. Nive help & Good luck. Bye
[23:17] <kristian-aalborg> I'm going to make a custom OS for my sis, as I might have mentioned... I need the lowest maintenance distro possible, but I would like it to be reasonable up-to-date as well... which should I choose
[23:17] <kristian-aalborg> also, resources *do* matter
[23:23] <kristian-aalborg> holstein, you play with this kind of stuff too... are you a strict Ubuntu man?
[23:23] <geirha> That's kindof what Ubuntu is aiming for...
[23:23] <kristian-aalborg> geirha, this will start as a netinstall, then add LXDE and this and that... I'm going to build the desktop myself
[23:23] <neoncamouflage> Can you modify the partition you're currently using? Like delete a 2nd and expand the one you're using over the whole disk.
[23:24] <kristian-aalborg> I'm running a (slightly) custom Ubuntu+fluxbox now, and it's cool - but I'm thinking Debian might be just a tiny bit better
[23:26] <geirha> neoncamouflage: Some filesystems support that I think, but not ext[2-4] afaik.
[23:28] <escott> neoncamouflage, you can put an fs on top of lvm
[23:28] <neoncamouflage> Uh huh.... I'm thinking I need to learn more about partitions before I try this...
[23:28] <neoncamouflage> As I don't know what that means. XD
[23:29] <escott> neoncamouflage, you can also try and expand a partition with gparted (as long as it isn't mounted)
[23:29] <escott> neoncamouflage, lvm just takes the disk and breaks it into lots of smaller logic blocks
[23:29] <neoncamouflage> Well it would be mounted, as it's the partition I'm currently running my OS off of.
[23:29] <escott> that way you can grow the partition without having to worry about it being adjacent to another
[23:30] <escott> neoncamouflage, if its mounted there is basically nothing you can do, very few filesystems support that in online mode
[23:30] <neoncamouflage> Right now I have four partitions, I want to remove all but the main one my OS is on.
[23:30] <neoncamouflage> Ah, well that's a bummer
[23:31] <escott> neoncamouflage, but you can do all this from the livecd with gparted
[23:31] <neoncamouflage> Yeah, I just won't have that for around a week or so when I get more CDs to burn with. Was just being impatient.
[23:31] <neoncamouflage> Thanks for the help though
[23:44] <geirha> Use the ubuntu livecd or liveusb.. oh he left
[23:50] <wereveal> holstein: (and/or others) been doing more research. The errors regarding GPG signatures not being valid and not being able to get the bzip2 files are often attributed to a proxy server. I can download the bzip2 files directly using wget to the server but apt-get/aptitude won't. Does the proxy thing ring true?
[23:56] <geirha> If the proxy has a bug or is wrongly configured, that certainly sounds plausible.
[23:58] <wereveal> geirha: fun, I hate being asked to do something on a server I have limited access to and limited knowledge about regarding the network it is on. I don't even know if there is a proxy and the owner isn't giving me much info.
[23:58] <holstein> wereveal: maybe check out http://blog.mypapit.net/2006/02/how-to-use-apt-get-behind-proxy-server-ubuntudebian.html ??
[23:58] <holstein> i remember someone the other day having that issue, and saying they were able to use synaptic i thought
[23:59] <holstein> anyways.. im out for a bit .. BBL
[23:59] <wereveal> thanks