tag:dreamwidth.org,2009-01-31:32development corruptsabsolute development corrupts absolutelyafuna2013-05-08T15:14:06Ztag:dreamwidth.org,2009-01-31:32:1146325Ahhhhh what is this2013-05-08T15:14:06Z2013-05-08T15:14:06Zpublic10<p>I'm switching my laptop from VMWare to VirtualBox (basically cloning the already working version from my desktop, which has things properly set up for email, etc) -- and ran into issues with networking. And at first I thought it was because I hadn't set up dnsmasq properly, or that it was <a href="http://blog.techprognosis.com/2011/02/28/how-to-enable-dhcp-in-virtualbox-4.html">this old issue with setting up dhcp</a> that I vaguely remembered having to deal with the first time.</p>
<p>But after fixing all that, still nothing. And uh. It turns out the solution was to rename the interfaces from eth0/eth1 to eth4/eth5.</p>
<p>I have no idea what just happened, other than that my computers have decided that it's fun to mess with me.</p>
<p>(I think the main reason I'm leery of sysad stuff is that every time I come back to edit something, I have to basically start from scratch. I should try to figure out how to easily document my actions when I work on the sysadmin side of things, so I can find out what I just did, two months from now.</p>
<p>It's really easy for code, e.g., <code>git status</code>, <code>git stash</code>, but the same trial and error approach I do for code just leads to confusion when I try to remember what I just did when it comes to working on my system...)</p>
<p>(I'm beginning to think that the other reason I find sysadminning so hard is that I only rarely can figure out from the instructions which parameters are arbitrary, and which parameters must be based on values from your system. For instance, in:</p>
<pre><code>VBoxManage dhcpserver add –netname (the internal network name e.g. intnet) –ip <your RFC 1918 address> (e.g. 192.168.x.x, 10.x.x.x, 172.16.x.x)\
–netmask <your subnet mask> (e.g. 255.255.255.0) –lowerip <your lower IP range> (e.g. 192.168.1.2) –upperip <your upper IP range> (e.g. 192.168.1.254)
</code></pre>
<ul>
<li>--netname is arbitrary</li>
<li>--ip is sort of arbitrary, but I thought it had to be based off an already assigned ip address</li>
<li>-- netmask is always just 255.255.255.0 for my purposes</li>
<li>--lowerip/--upperip are arbitrary, but since I was confused about --ip before...</li>
</ul>
<p>Also in the GUI, there's an adapter IP and the DHCP server IP, and it's not clear whether the --ip is for the former or the latter. It turns out it's the former, but good heavens how do people <em>know</em>? I basically had to plug in reasonable-seeming values and restarting stuff to test, with the only feedback being that it either failed or succeeded, and no way of telling which of the inputs was the reason for the failure, or if it was none of those.</p>
<p>UGH. Not my favorite thing in the world.)</p>
<br /><br /><img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&ditemid=1146325" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/> commentstag:dreamwidth.org,2009-01-31:32:921915So, there's this daily rolling blackout...2010-04-07T03:29:43Z2010-04-07T03:29:43Zthoughtfulpublic14Hmm, apparently I need to check Meralco's website for when the (thus-far) daily rolling blackout is about to hit my area, so I can schedule a break or non-internet-reliant work stuff then. <br /><br />I shouldn't be offline for more than an hour or two, but if it's going to happen every day, then I'd better figure out something to do with that time!<br /><br /><img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&ditemid=921915" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/> commentstag:dreamwidth.org,2009-01-31:32:81572Snow Leopard network woes (problem connecting to another computer on the network)2010-02-08T16:54:19Z2010-02-08T16:54:19Zgeekypublic9Okay, here's one thing that bothers me: occasionally, I stop being able to connect to my brother's computer on our home network. Let's call this computer "brother".<br /><br />So I'll still see "brother" under the Shared section of the Finder sidebar, but double-clicking on it gives me a "Connection failed", and clicking "Connect as" on the upper right either has no visible effect, or gives a pop-up with the text "The server “brother” may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again."<br /><br />In Console (Applications > Utilities > Terminal), there's this error message in the system log:<br />SharePointBrowser::handleOpenCallBack returned 64<br /><br />Judicious googling tells me that indicates the remote server is down, which is not true! My laptop just thinks it is. No amount of flushing dnscache (whether by doing dscacheutil -flushcache, or killall -HUP mDNSResolver) could fix it. It's also not a network setup issue, because I've been able to connect to this computer before and if I restart, etc, I'll be able to connect to it again.<br /><br /><br />I just spent the evening digging into this, because it frustrates me so, and I think I've finally got some solutions that work well enough that I want to share (also note them down so I can find them when I next need them!):<br /><br /><span class="cut-wrapper"><span style="display: none;" id="span-cuttag___1" class="cuttag"></span><b class="cut-open">( </b><b class="cut-text"><a href="https://afuna.dreamwidth.org/81572.html#cutid1">three things that worked for me under the cut</a></b><b class="cut-close"> )</b></span><div style="display: none;" id="div-cuttag___1" aria-live="assertive"></div><br /><br />And there! I haven't managed to google up *any* solution to this kind of issue (except for advice to restart, but again that's not always feasible), so I've tried to put down everything that I could, and maybe it can help someone else in the future.<br /><br />Future self, if this happens to you again, please remember to look at this entry.<br /><br /><img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&ditemid=81572" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/> commentstag:dreamwidth.org,2009-01-31:32:79776these notes to self get quite ridiculous2010-02-02T03:19:28Z2010-02-02T03:19:28Zpublic2Need to write an entry for <span style='white-space: nowrap;'><a href='https://dw-styles.dreamwidth.org/profile'><img src='https://www.dreamwidth.org/img/comm_staff.png' alt='[site community profile] ' width='16' height='16' style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /></a><a href='https://dw-styles.dreamwidth.org/'><b>dw_styles</b></a></span>, but I can never quite get the time. Schedule for this week, before next news post?<br /><br /><img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&ditemid=79776" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/> commentstag:dreamwidth.org,2009-01-31:32:77223Install Perl modules from CPAN as packages2010-01-14T09:10:49Z2010-01-14T09:51:15Zpublic0Started from <a href="http://xb95.dreamwidth.org/647823.html">these instructions</a>, but some modules try to install files into /usr/lib, which causes an error about being unable bto overwrite. I ran into this while trying to install a later version of Net::OpenID::Server/Net::OpenID::Consumer, in particular. <br /><br />One solution is to force the install, but I don't know what other effect that could have. <br /><br />The better solution is in this comment with <a href="http://www.debian-administration.org/articles/78#comment_9">similar but slightly different series of steps</a>, from debian-administration.org.<br /><br />(Note: in case it wasn't clear -- I had to figure it out through trial and error -- the rules.MakeMaker.noxs you're editing is the one in ~/.dh-make-perl)<br /><br />So far so good; about to try it out.<br /><br />ETA: Works!<br /><br /><img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&ditemid=77223" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/> commentstag:dreamwidth.org,2009-01-31:32:68727Phone menus are like CYOA, except you can't cheat2009-12-18T15:12:11Z2009-12-18T15:12:11Zpublic0Spent about half an hour going through the different options, trying to figure out how to get a live human being. Eventually I won through (wooohoo!). And now, in case I wake up tomorrow having forgotten, the cheat code is:<br /><br /><strike>up up down down left right left right b a start</strike><br /><br />1 - (HSBC, not HSBC Banking)<br />2 - (credit card, not loan applications or whatever)<br /># - (don't input credit card number)<br />4 - (other card services -- which didn't have any indication that there would be a person on the line!)<br /><br /><img src="https://www.dreamwidth.org/tools/commentcount?user=afuna&ditemid=68727" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/> comments